Hi All, thanks in advance for any help.
In one of my scripts im using this code:
ob_start();
include("/test/template.php");
$output = ob_get_contents();
ob_end_clean();
$content = $output;
The function is supposed to grab the contents of "template.php" in it's html output form and save them to the variable $conent.
I have used this with success on several other scripts. This time, when i run the function is seems to "include" the file instead of running the script.... the file does have php in it including other "includes" ... could that be the problem? Is there any solution? 😕