note 24508 deleted from function.nl2br by betz

From: Date: Mon, 19 Aug 2002 22:40:36 +0000
Subject: note 24508 deleted from function.nl2br by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-35228@lists.php.net to get a copy of this message
I'm trying to use nl2br to change the \n to <br> in a textarea read from MySQL, like this: $str.=nl2br($row[text]); However it simply doesn't work. Why? The result is all the page except the text that should be added to $str!

« previous php.notes (#35228) next »