Re: [PHP] The <<< convension

2004-03-17 Thread Ben Ramsey
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 probab

RE: [PHP] The <<< convension

2004-03-17 Thread Chris W. Parker
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

Re: [PHP] The <<< convension

2004-03-17 Thread Jake McHenry
- 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 w

RE: [PHP] The <<< convension

2004-03-17 Thread Chris W. Parker
noginn 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

[PHP] The <<< convension

2004-03-17 Thread noginn
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; print $text; ?> I would