I have been trying to include an echo statement incorporating a here document on pages being served by my Mac OS X (v10.1.5) and Apache (v1.3)

When I try to browse test.php, which contains...

<?php
echo<<<ENDOFECHO
<html>
hello...hello...
</html>
ENDOFECHO;
?>

I get a parse error. When I upload it to my ISP it works as expected, but again it won't work on my server. What can I change or where can I go for an answer.

Thanks


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to