note 35612 deleted from function.nl2br by ali
| From: | ali@php.net | Date: | Mon, 08 Sep 2003 12:58:19 +0000 |
| Subject: | note 35612 deleted from function.nl2br by ali | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55795@lists.php.net to get a copy of this message | ||
Note Submitter: chrilaier@web.de
----
using this before storing the form-datas in the db
$string=preg_replace('/\r\n|\r/', '/n', $string);
prevents platform-problems, as you can give it out with
nl2br(db_data);
:-) thats how i got along with my problems