Re: print <<<EOF

From: Date: Tue, 07 Nov 2000 22:05:50 +0000
Subject: Re: print <<<EOF
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-24190@lists.php.net to get a copy of this message
Is your code actually indented like that? If so, that is your problem. The EOF needs to be at the start of the line. -Rasmus On Tue, 7 Nov 2000, Boget, Chris wrote: > Why isn't this working? > > <script language="php"> > > print <<<EOF > > hello, > my name is > chris > > EOF; > > </script> > > I get a parse error on line 3 (which is this line: > > print <<<EOF > > It looks right... Any ideas? > > Chris > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#24190) next »