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 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> > <title>TEST</title> > </head> > <body bgcolor="#ffffff"> > <?php > echo "this should be printed out:\n"; > echo "this is a second line"; > ?> > </body> > </html> > > > Output in IE6: > this should be printed out: this is a second line > > > regards, > > KK > > > >
-- ---------------------- www.curvedvision.com ---------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php