<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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to