note 36316 added to function.nl2br

From: Date: Sat, 04 Oct 2003 20:41:35 +0000
Subject: note 36316 added to function.nl2br
Groups: php.notes 
Request: Send a blank email to php-notes+get-57821@lists.php.net to get a copy of this message
Hi, I have been trying to use the nl2br() function to display text dump from DB but it doesn't seem to be working for me. the following is the simple code for it... <? printf ('%s', nl2br($Result3[7])) ?> the text gets printed as one single blob.could anyone provide a suggestion? thanks, rads ---- Manual Page -- http://www.php.net/manual/en/function.nl2br.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36316 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36316&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36316&report=yes Search Tool -- http://master.php.net/manage/user-notes.php

« previous php.notes (#57821) next »