ok, HEREDOC syntax doesn’t work for some reason in Dreamweaver MX 2004. ( I have a Mac by the way.)
here is the code in Dreamweaver…
<?php
//heredoc.php
$content = <<<EOD
this is heredoc.
EOD;
echo $content;
?>
…as a result I received a parse error.
very simple code…i type the very same code in vim and saved it. launched it. and it worked…
Is there something i can fix in Dreamweaver to fix these HEREDOC problems?
thank guys!
cadmiumgreen