Re: Newbie's question about \n
| From: | Anas Mughal | Date: | Mon, 22 Jul 2002 14:29:16 +0000 |
| Subject: | Re: Newbie's question about \n | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108861@lists.php.net to get a copy of this message | ||
I often use: <br>\n
That way I get a new line in a browser and plain text as well.
KK Lee <kklee6@yahoo.com> wrote: Dear ALL,
It seems that i have a very silly problem.
I can't get the new line escape character to work.
the following is my SIMPLE script and corresponding output.
PHP script:
"-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"
>
echo "this should be printed out:\n";
echo "this is a second line";
?>
Output in IE6:
this should be printed out: this is a second line
regards,
KK
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---------------------------------
Do You Yahoo!?
Yahoo! Health - Feel better, live better