title: tidesdk include php
body: <p>I did my research but can't find any topic or example on how to include an php file in the header and calling an function from the include in the body of html.</p>
  
  <p>the examples all show how to include an function in the head.</p>
  
  <p>what I understand is this.</p>
  
  <pre><code>&lt;script type="text/php" src="test.php"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>in the test.php i have a function testing with echo 'test' and not using the php tags.</p>
  
  <p>Could someone post an small example how to include php in tidesdk and echo it in the body ?</p>
  
  <p>I have PHP enabled in the app config.</p>