Re: nl2br() question

From: Date: Sat, 26 Sep 2009 16:30:53 +0000
Subject: Re: nl2br() question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-298369@lists.php.net to get a copy of this message
That option was added in 5.3.0 So you have to upgrade for that to work. tedd wrote:
<div class="moz-text-flowed" style="font-family: -moz-fixed">Hi gang: The manual says: http://www.php.net/nl2br That I could use the function like so (Example #2): $new = nl2br($string, false); But when I do, I get: Warning: Wrong parameter count for nl2br() in /home... What's up with that? I am using PHP Version 5.2.10 Cheers, tedd


« previous php.general (#298369) next »