note 23935 deleted from function.nl2br by dams

From: Date: Sat, 03 Aug 2002 03:04:59 +0000
Subject: note 23935 deleted from function.nl2br by dams
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-34180@lists.php.net to get a copy of this message
the problem with nl2br is that it inserts a br before every newline, but doesn't replace the newline with a br tag. this caused a lot of problems with publishing system i wrote. i like to keep the br's out of the database and only on display

« previous php.notes (#34180) next »