note 9061 added to nl2br
| From: | m dot kouba at pixel dot at | Date: | Fri, 13 Oct 2000 14:42:47 +0000 |
| Subject: | note 9061 added to nl2br | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6449@lists.php.net to get a copy of this message | ||
i've used
<b>str_replace("\r\n","[br]",$data)</b>
and
<b>str_replace("[br]","\r\n",$data)</b>
since i didn't like the look of the select-results on the effected data
http://www.php.net/manual/function.nl2br.php