note 8093 added to nl2br

From: Date: Sat, 26 Aug 2000 15:33:54 +0000
Subject: note 8093 added to nl2br
Groups: php.notes 
Request: Send a blank email to php-notes+get-3411@lists.php.net to get a copy of this message
This code also works. The 10 is an ASCII representation for line feed and 13 is for carriage return. <?if ($submit) { $new=ereg_replace (10,"<br>",$text); echo $new; } else{ /*form stuff*/ } ?> http://www.php.net/manual/function.nl2br.php

« previous php.notes (#3411) next »