Re: Htmlentities and Newlines?

From: Date: Sun, 29 Sep 2002 00:35:16 +0000
Subject: Re: Htmlentities and Newlines?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-118004@lists.php.net to get a copy of this message
> <?php > /* db access using postgresql - each row is displayed */ > ... > <tr><td>{$myrow['request']}</td></tr> > ... > ?> > > Now unless I can do something like: > > <tr><td>'nl2br({$myrow['request']}'</td></tr> Try something like echo '<tr><td>'.nl2br($myrow['request'].'</td></tr>'; Regards Sascha

« previous php.general (#118004) next »