note 34364 deleted from function.nl2br by didou
| From: | didou@php.net | Date: | Fri, 25 Jul 2003 07:30:18 +0000 |
| Subject: | note 34364 deleted from function.nl2br by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-52611@lists.php.net to get a copy of this message | ||
Note Submitter: yarcles
----
Re: last post. Storing newline characters rather than <br /> is desired.
If the user is inputting real HTML such as "<br>" (rather than hitting
'return') you may want to convert this to a new line character before persisting to the
database.
Therefore there is still a need for a reversal function like br2nl() - albeit not a fundamental
function that should be included in php.