RE: [PHP] unexpected T_SL

From: Date: Mon, 02 Sep 2002 02:51:25 +0000
Subject: RE: [PHP] unexpected T_SL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-114864@lists.php.net to get a copy of this message
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:voisine@hotmail.com] > Sent: Monday, 2 September 2002 12:34 PM > To: php-general@lists.php.net > 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 > >

« previous php.general (#114864) next »