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:
!DOCTYPE HTML PUBLIC
-//W3C//DTD HTML 4.0 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
html
head
]
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:
!DOCTYPE HTML PUBLIC
-//W3C//DTD HTML 4.0 Transitional//EN
http://www.w3
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 !DOCTYPE HTML PUBLIC
KL-//W3C//DTD
nl2br()
KK Lee wrote:
**
This Message Was Virus Checked With : SAVI 3.59 May 2002
Last Updated 8th July 2002
**
Dear ALL,
It seems that i
I often use: br\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
Think of it this way: br 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
6 matches
Mail list logo