note 24508 added to function.nl2br

From: Date: Mon, 19 Aug 2002 22:36:46 +0000
Subject: note 24508 added to function.nl2br
Groups: php.notes 
Request: Send a blank email to php-notes+get-35227@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! -- http://www.php.net/manual/en/function.nl2br.php http://master.php.net/manage/user-notes.php?action=edit+24508 http://master.php.net/manage/user-notes.php?action=delete+24508 http://master.php.net/manage/user-notes.php?action=reject+24508

« previous php.notes (#35227) next »