note 24507 rejected from function.nl2br by jmcastagnetto

From: Date: Tue, 20 Aug 2002 00:16:13 +0000
Subject: note 24507 rejected from function.nl2br by jmcastagnetto
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-35229@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 (#35229) next »