Adil wrote:
anyone know why heredoc syntax might not work with php5/apache installed. I can't get even the simplest strings in heredoc syntax to work and I've tried just cutting and pasting other peoples stuff in that syntax as well, and still no luck
thx. Adil.
Heredoc syntax is pretty rigid and it's easy to have it wrong invisibly.
$varname = <<<END Text of string END;
The first END must be at the end of the line, nothing after it, not even a blank space. The last END must be at the beginning of the line, not before it, not even a blank space.
Janet
-- Janet Valade -- janet.valade.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php