note 39173 added to language.types.string
| From: | dandrake at rn2 dot php dot net | Date: | Mon, 19 Jan 2004 20:41:53 +0000 |
| Subject: | note 39173 added to language.types.string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63842@lists.php.net to get a copy of this message | ||
By the way, the example with the "\n" sequence will insert a new line in the html code,
while the output will be decided by the HTML syntax. That's why, if you use
<?
echo "Hello \n World";
?>
the browser will receive the HTML code on 2 lines
but his output on the page will be shown on one line only.
To diplay on 2 lines simply use:
<?
echo "Hello <br>World";
?>
like in HTML.
----
Manual Page -- http://www.php.net/manual/en/language.types.string.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39173
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39173&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39173&report=yes
Search -- http://master.php.net/manage/user-notes.php