Try nl2br(). ie. $var=nl2br($var);
This replaces \n with <br> "Ryan Jameson (USA)" <[EMAIL PROTECTED]> said: > Hi guys, maybe I'm missing something silly but when I retrieve a string from my SQL server with '\n' in it, they are displayed literally instead of as line breaks. StripSlashes only turns them into 'n'. > > Any ideas? > > <>< Ryan > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php