RE: [PHP] unexpected T_SL

2002-09-01 Thread Peter Houchin

simple .. look up docs on putting straight text to the screen and u'll find
a number of options such as echo and print i bet ya'd be able to solve
really quickly


 -Original Message-
 From: Voisine [mailto:[EMAIL PROTECTED]]
 Sent: Monday, 2 September 2002 12:34 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] unexpected T_SL


 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;
 ?

 Regards!
 Joe


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] unexpected T_SL

2002-09-01 Thread voisine

I know how to use echo and print but I'm learning php so I try to understand
why I have this error with the heredoc syntax.

Thanks!

Peter Houchin wrote:

 simple .. look up docs on putting straight text to the screen and u'll find
 a number of options such as echo and print i bet ya'd be able to solve
 really quickly

  -Original Message-
  From: Voisine [mailto:[EMAIL PROTECTED]]
  Sent: Monday, 2 September 2002 12:34 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] unexpected T_SL
 
 
  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;
  ?
 
  Regards!
  Joe
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php