How do I include PHP software in a Smarty template?
I have followed several of the on-line examples of writing PHP software within the TIKIWIKI SMARTY editor. I have had no success as the software is printed on the web-page versus being executed. For example:
?php<
$WordCount=3;
echo "HI"; ?>
prints '$WordCount=3; echo "HI"; ?>' on the screen. Note: I placed the ?php in font of the < so that it would be displayed versus being executed in the forum. My software has the < symbol followed by ?php.
What am I doing wrong? Is there some "switch" that must be set to run PHP software in a TIKIWIKI page? Any recommendations on reading material regarding incorporating PHP code in a TIKIWIKI page?
Robert