I have read a range of comments on php.net manual where people have
mentioned this, along with it being in the 'print' functions page itself.
I have tryed to use it in some context before but without success, I
have always been getting an error on some sort.
For example;
?php
$text = END
This
noginn mailto:[EMAIL PROTECTED]
on Wednesday, March 17, 2004 1:30 PM said:
I would get this error when running the above script.
*Notice*: Undefined variable: variable in
*C:\WWW\Apache2\htdocs\php\testprint.php* on line *4*
This uses the here document syntax to output multiple lines
- Original Message -
From: noginn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 4:29 PM
Subject: [PHP] The convension
I have read a range of comments on php.net manual where people have
mentioned this, along with it being in the 'print' functions page itself
Chris W. Parker
on Wednesday, March 17, 2004 1:38 PM said:
it's choking on the $variable you've got in your heredoc text. you've
probably got error reporting turned up so that it coughs on those
kinds of errors. notice it didn't cause your program to fail.
i should also say.. if you put
And if you want the actual text $variable to be displayed, just use
the backslash before the dollar symbol (e.g. \$variable).
Chris W. Parker wrote:
Chris W. Parker
on Wednesday, March 17, 2004 1:38 PM said:
it's choking on the $variable you've got in your heredoc text. you've
probably
5 matches
Mail list logo