note 19623 deleted from function.nl2br by didou
| From: | didou@php.net | Date: | Fri, 03 Oct 2003 12:33:13 +0000 |
| Subject: | note 19623 deleted from function.nl2br by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57732@lists.php.net to get a copy of this message | ||
Note Submitter: ivan.schmid@astalavista.ch
----
$txt = ereg_replace ("(<br />|<br/>)","", $txt)
I use this ( reverse br2nl ! ) if I want to allow a visitor to modify a data
stored in the database, you display this data in a textarea.
Astalavista Baby !