note 85456 deleted from function.echo by googleguy
| From: | googleguy@php.net | Date: | Tue, 15 Jan 2013 04:43:39 +0000 |
| Subject: | note 85456 deleted from function.echo by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-193051@lists.php.net to get a copy of this message | ||
Note Submitter: sandaimespaceman at gmail dot com
----
Outputting \n won't generate a line break in the browser, <br /> is required for line
break. Also,
<?php
echo "first line";
echo "second line";
?>
will like
first linesecond line
because you didn't insert spaces/line breaks.
the echo function can also be written like
<?php
echo ('text here')
?>