note 23935 added to function.nl2br

From: Date: Thu, 01 Aug 2002 19:53:56 +0000
Subject: note 23935 added to function.nl2br
Groups: php.notes 
Request: Send a blank email to php-notes+get-34102@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 -- http://www.php.net/manual/en/function.nl2br.php http://master.php.net/manage/user-notes.php?action=edit+23935 http://master.php.net/manage/user-notes.php?action=delete+23935 http://master.php.net/manage/user-notes.php?action=reject+23935

« previous php.notes (#34102) next »