--- Gerben <[EMAIL PROTECTED]> wrote: > does anyone know how to create a true nl2br function in stead of a > nl2br-and-nl function.
$foo = str_replace('\n', '<br />', $foo); Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming Fall 2004 HTTP Developer's Handbook - Sams http://httphandbook.org/ PHP Community Site http://phpcommunity.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php