dee, Use the string function nl2br($myblahstring)
This converts ordinary linebreaks (newline chars) to html <br> tags on the fly when displaying text out of a database for instance. In your example though with straight echos you have to expicitly echo <br> at end of each blah echo, no matter what browser is used. CD ----- Original Message ----- From: "dee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 01, 2002 12:18 PM Subject: [PHP-WIN] Help on \t \r \n > Can anyone help me on this very simple problem, I'm a newbie, but the > problem seems so simple and it's buggering me. > > I have 423 xp version installed. When trying out how to display any of the > escaped characters e.g. > > echo("<p>blah blah..... \n"); > echo("more blahs..."); > > in an HTML file, with IE6, I get > > blah blah..... more blahs... > > why? -- shall I just forget it and use <br />? > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php