note 41148 added to function.echo
| From: | admin at quotecafe dot com | Date: | Wed, 31 Mar 2004 18:41:28 +0000 |
| Subject: | note 41148 added to function.echo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-67428@lists.php.net to get a copy of this message | ||
echo "hello \r\n world"; => this will print hello and world in two different lines
echo 'hello \r\n world'; => this will print hello and world on the same like with \r\n
between them.
You can see a example at:
http://www.quotecafe.com/tech/echo.html
(Since \r\n line break is not recognized by html do a view source of the html you get in the browser
to see the difference)
greetings,
admin
http://www.quotecafe.com
----
Manual Page -- http://www.php.net/manual/en/function.echo.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41148
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41148&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41148&report=yes
Search -- http://master.php.net/manage/user-notes.php