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 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 Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php