I've created a .php file that outputs HTML. What i would like to do is ad a $ call in the templates, and have it pull only the HTML file of the .php file i created.
I've tried
PHP Code:
if ($html)
{
include('./myfile.php');
}
I even tried lol
PHP Code:
eval('$html = "' . include "myfile.php" . '";');
And use $html in the templates but i get nothing. Any ideas what i could use?