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.
the examples all show how to include an function in the head.
what I understand is this.
<script type="text/php" src="test.php"></script>
in the test.php i have a function testing with echo 'test' and not using the php tags.
Could someone post an small example how to include php in tidesdk and echo it in the body ?
I have PHP enabled in the app config.