New Line Char problem.
Moderator: General Moderators
-
bagofbones
- Forum Newbie
- Posts: 1
- Joined: Sun Nov 09, 2003 6:07 pm
New Line Char problem.
I notice that "\n" does not work in IE6.0 . I am just a newbie of PHP. Could anyone help me handle this problem?Thanks a lot. 
it's not an IE-specific problem. \n is not a linebreak in HTML (unless in a <pre></pre> block).
<br /> is (http://www.w3.org/TR/html4/struct/text.html#edef-BR).
You might be also interested in http://php.net/nl2br
<br /> is (http://www.w3.org/TR/html4/struct/text.html#edef-BR).
You might be also interested in http://php.net/nl2br