note 67464 added to function.nl2br
| From: | chris5790 at gmail dot com | Date: | Thu, 08 Jun 2006 02:18:56 +0000 |
| Subject: | note 67464 added to function.nl2br | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-113739@lists.php.net to get a copy of this message | ||
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?
----
Server IP: 64.71.164.2
Probable Submitter: 72.195.151.34
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.nl2br.php
Edit -- http://master.php.net/note/edit/67464
Del: integrated -- http://master.php.net/note/delete/67464/integrated
Del: useless -- http://master.php.net/note/delete/67464/useless
Del: bad code -- http://master.php.net/note/delete/67464/bad+code
Del: spam -- http://master.php.net/note/delete/67464/spam
Del: non-english -- http://master.php.net/note/delete/67464/non-english
Del: in docs -- http://master.php.net/note/delete/67464/in+docs
Del: other reasons-- http://master.php.net/note/delete/67464
Reject -- http://master.php.net/note/reject/67464
Search -- http://master.php.net/manage/user-notes.php