note 39173 deleted from language.types.string by danbrown
| From: | danbrown@php.net | Date: | Tue, 17 May 2011 14:20:26 +0000 |
| Subject: | note 39173 deleted from language.types.string by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-179801@lists.php.net to get a copy of this message | ||
Note Submitter: dandrake
----
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.