note 10347 deleted from nl2br by zak

From: Date: Sat, 30 Dec 2000 00:07:23 +0000
Subject: note 10347 deleted from nl2br by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-9221@lists.php.net to get a copy of this message
Bill, The pre isnt needed, I think that people were only adding it in order to display their html tags.. they dont seem to be needed in that case anyway :-) The following works perfectly: if ($submit): // The content has been submitted via form.. $stuff = nl2br($stuff); $stuff = ereg_replace("n", "", $stuff); $stuff = ereg_replace("r", "", $stuff); Dono

« previous php.notes (#9221) next »