Re: print <<<EOF

From: Date: Tue, 28 Nov 2000 15:35:15 +0000
Subject: Re: print <<<EOF
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27606@lists.php.net to get a copy of this message
>This is available with PHP4. This works perfectly. I've tested this >with php 3.0.9 and it doesn't work. > >You probably need to upgrade to a version that supports this. I use PHP4... I've just downloaded the latest PHP two weeks ago. I'm doing exactly like this function something($script_name) { echo "<form action=\"$script_name\" method=\"POST\">"; print <<<EOF than I have a lot of HTML code with quotes and everything... (a whole form)... EOF; < it IS on the first column of text... } and the parser error is on the line containing "print <<<EOF"... I've tried to put that on the first column as well... it simply doesn't work... why???? . [ Christian Dechery ] . Webdeveloper @ Tá Na Mesa! . Listmaster @ Gaita-L . http://www.tanamesa.com.br

« previous php.general (#27606) next »