----- Original Message ----- From: "Lars Espelid" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 14, 2002 9:59 PM Subject: [PHP] Can't escape characters in php??
> Hello, > > I'm running Apache/1.3.26 and PHP 4.0.5 on WinXP pro. > > Also '\n' in an echo-expression won't work. It is ignored. > code: > echo "HELLO \n"; > echo "WORLD"; > > result: > HELLO WORLD > > What can be wrong? Do I miss a library or something?? You are using a browser for the output ? when you use "\n" you'll see a nice newline in the html source.... your browser expects html so use html code ! (newline in html is <br>) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php