note 24991 deleted from function.nl2br by tomsommer

From: Date: Sun, 27 Jun 2004 17:38:16 +0000
Subject: note 24991 deleted from function.nl2br by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-71943@lists.php.net to get a copy of this message
Note Submitter: commish@hoopscitylive.com ---- Regarding lack of br2nl()... try this when re-displaying a string that has been altered by nl2br(): echo "<textarea name=body wrap=virtual cols=48 rows=12>"; $body = strip_tags($body); $body = stripslashes($body); echo $body; echo "</textarea>\n"; Seemed to work for me...

« previous php.notes (#71943) next »