note 17136 added to function.echo
| From: | cs_1 at gmx dot de | Date: | Tue, 27 Nov 2001 17:03:12 +0000 |
| Subject: | note 17136 added to function.echo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21337@lists.php.net to get a copy of this message | ||
When using "echo <<<EOT... EOT;"
Make sure there is no tab after the last EOT or PHP won't recognize that the EOT (or watever
you use a terminator) terminates the text.
Example:
echo <<<EOT
some text here
EOT;
//^---This won't work, because there's a tab aber the "EOT;"
--
http://www.php.net/manual/en/function.echo.php
http://master.php.net/manage/user-notes.php?action=edit+17136
http://master.php.net/manage/user-notes.php?action=delete+17136
http://master.php.net/manage/user-notes.php?action=reject+17136