note 50403 added to function.echo

From: Date: Sun, 27 Feb 2005 10:35:09 +0000
Subject: note 50403 added to function.echo
Groups: php.notes 
Request: Send a blank email to php-notes+get-85625@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.echo.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50403 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50403&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50403&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50403&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50403&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50403&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50403&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#85625) next »