note 8093 deleted from nl2br by zak

From: Date: Sat, 30 Dec 2000 00:08:20 +0000
Subject: note 8093 deleted from nl2br by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-9226@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. &lt;?if ($submit) { $new=ereg_replace (10,"<br>",$text); echo $new; } else{ /*form stuff*/ } ?>

« previous php.notes (#9226) next »