note 50403 deleted from function.echo by betz
| From: | betz@php.net | Date: | Wed, 30 Aug 2006 16:44:07 +0000 |
| Subject: | note 50403 deleted from function.echo by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-116514@lists.php.net to get a copy of this message | ||
Note Submitter: paul dot mateescu at zirkonmedia dot ro
----
Hello,
If you want to use echo <<<ENDOFECHO (here document style) and you notice that the server
does not seem to recognise this form (you get a blank page with no content at all), chances are your
editor uses a wrong type of line break.
Fore instance, I use Dreamweaver for Macintosh. You should have the following preferences:
Dreamweaver >> Preferences >> Code Format >> Line break type
set to "CR LF (Windows)" or "LF (Unix)". Dreamweaver for Mac ships with "CR
(Macintosh)" by default (at least the MX edition, don't know about any other editions),
which confuses the PHP interpreter.
Best,
Paul Mateescu