note 35612 added to function.nl2br

From: Date: Mon, 08 Sep 2003 11:38:03 +0000
Subject: note 35612 added to function.nl2br
Groups: php.notes 
Request: Send a blank email to php-notes+get-55790@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.nl2br.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35612 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35612&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35612&report=yes

« previous php.notes (#55790) next »