Re: [PHP] Re: unexpected T_SL

2002-09-02 Thread Steel
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

RE: [PHP] Re: unexpected T_SL

2002-09-02 Thread Todd Pasley
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

Re: [PHP] Re: unexpected T_SL

2002-09-02 Thread Chris Hewitt
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

Re: [PHP] Re: unexpected T_SL

2002-09-02 Thread Voisine
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