Hello Marco,
"Marco Tabini" <[EMAIL PROTECTED]> wrote:
> You need to remove the semicolon from the beginning of your heredoc
> expression. The semicolon tells PHP (incorrectly) that the instruction
> terminates, while in fact it doesn't:
I think...
> $name="John Doe"
you meant the semicolon a
You need to remove the semicolon from the beginning of your heredoc
expression. The semicolon tells PHP (incorrectly) that the instruction
terminates, while in fact it doesn't:
ECHO TEST
Hello, $name.
ENDOFECHO;
?>
This will work.
Marco
--
php|architect - The magazine for PH
2 matches
Mail list logo