note 67464 rejected from function.nl2br by nlopess
| From: | nlopess@php.net | Date: | Thu, 08 Jun 2006 09:21:03 +0000 |
| Subject: | note 67464 rejected from function.nl2br by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-113768@lists.php.net to get a copy of this message | ||
Note Submitter: chris5790 at gmail dot com
----
I have a textarea, if i do
$news=$_POST['new'];
$news=nl2br($news);
and then insert $news into an sql database, when i display it will it have line breaks?