Re: question PHP - HTML
| From: | Matt Matijevich | Date: | Mon, 26 Jan 2004 14:22:22 +0000 |
| Subject: | Re: question PHP - HTML | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-175759@lists.php.net to get a copy of this message | ||
<snip>
If you "View Source" in IE, you'll see it printed in the expected way.
The browser, though, will not show it as you expect it. This is
because
the browser needs a <br> tag for a newline and will not read a \n as a
<br>.
So, use <br> instead of \n.
</snip>
you could also wrap the text in <pre> tags.