Hey All,
I imagine this is probably something stupid, but I have run out of things to check. The code below geneeates the following error when tried in two different environments on different servers:
Parse error: parse error, unexpected $ in /homepages/20/d116091336/htdocs/HLFReno/test.php on line 9
The code is as follows:
<?php
$page_string=<<<EOT
<html>
EOT;
echo($page_string);
?>
<head>
</head>
<BODY>
test
</BODY>
</HTML>
I am trying to do a template setup with an include for the header and one for the footer. It worked initially, then I modified the header include script and it all stopped working, even when I broke it down to this simpest case. If I change the <<<EOT to echos it works.
Any thoughts would be greatly appreciated,
Mongonv