Re: [PHP] Newbie's question about \n

2002-07-22 Thread Martin Clifford
Think of it this way: creates a line break in HTML Output, \n creates a line break in HTML Code. echo "I really\n like\n PHP!"; HTML Code: I really like PHP! HTML Output: I really like PHP! HTH >>>It seems that i have a very silly problem. I can't get the new line escape character to

Re: [PHP] Newbie's question about \n

2002-07-22 Thread Anas Mughal
I often use: \n That way I get a new line in a browser and plain text as well. KK Lee <[EMAIL PROTECTED]> 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:

Re: [PHP] Newbie's question about \n

2002-07-22 Thread Neil Freeman
nl2br() KK Lee wrote: > ** > This Message Was Virus Checked With : SAVI 3.59 May 2002 > Last Updated 8th July 2002 > ** > > Dear ALL, > > It seems tha

Re: [PHP] Newbie's question about \n

2002-07-22 Thread Tom Rogers
Hello KK, Monday, July 22, 2002, 9:00:47 PM, you wrote: KL> Dear ALL, KL> It seems that i have a very silly problem. KL> I can't get the new line escape character to work. KL> the following is my SIMPLE script and corresponding output. KL> PHP script: KL> "-//W3C//DTD HTML 4.0 Transitiona

RE: [PHP] Newbie's question about \n

2002-07-22 Thread Niklas Lampén
PROTECTED] Subject: [PHP] Newbie's question about \n 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: http://www.w3.org/TR/html4/loose.dtd"; > TEST

[PHP] Newbie's question about \n

2002-07-22 Thread KK Lee
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: http://www.w3.org/TR/html4/loose.dtd"; > TEST Output in IE6: this should be printed out: this is a second