note 32786 deleted from function.nl2br by aidan

From: Date: Sun, 10 Oct 2004 10:37:24 +0000
Subject: note 32786 deleted from function.nl2br by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-78274@lists.php.net to get a copy of this message
Note Submitter: ---- A lot of comments talk about reversing nl2br and other problems with saving and removing <br/> 's. You don't want to use nl2br() when you save your text in a database (new lines are prettier anyway). Use it when you retrieve the text from the database to output the text for the the webpage.

« previous php.notes (#78274) next »