note 32507 deleted from function.nl2br by didou
| From: | didou@php.net | Date: | Thu, 29 May 2003 18:43:05 +0000 |
| Subject: | note 32507 deleted from function.nl2br by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-49267@lists.php.net to get a copy of this message | ||
Note Submitter: malbert@agencyport.com
----
Another br2nl option, use the chr() function to return the ascii new line:
$string = str_replace('<br />', chr(10), $string);