Re: nl2br problem

From: Date: Fri, 28 May 2004 18:36:55 +0000
Subject: Re: nl2br problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-187158@lists.php.net to get a copy of this message
--- Gerben <gerbendekeijzer@12move.nl> 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/

« previous php.general (#187158) next »