Hi Erwin,
Monday, September 2, 2002, 11:28:09 AM, I've got:
E Voisine wrote:
Hi,
What is wrong witht his code? Parse error: parse error, unexpected
T_SL in c:\program files\easyphp\www\tutorial\eod.php on line 2
?php
$str = EOD
Example of string
spanning multiple lines
using heredoc
Hiya,
There are two reasons that I can pick up that you may be experiencing this
area:
1) You are not using PHP4 or later
2) you are using windoze and.
Probably the nastiest gotcha is that there may also not be a carriage
return (\r) at the end of the line, only a form feed, AKA newline
Voisine wrote:
Hi,
What is wrong witht his code? Parse error: parse error, unexpected
T_SL in c:\program files\easyphp\www\tutorial\eod.php on line 2
?php
$str = EOD
Example of string
spanning multiple lines
using heredoc syntax.
EOD;
?
Assuming your line 2 is the one with EOD in it, I can
I tried everything and I still have this error. I have this error with php 4.2.2
on Windows 98 I also have the same problem with Apache, RedHat php 4.2.1.
WellI'm going to skip this lesson.
Thanks for all the help!
Regards!
Steel wrote:
Hi Erwin,
Monday, September 2, 2002, 11:28:09
4 matches
Mail list logo