On Sat, 2009-09-26 at 11:22 -0400, tedd wrote:
> 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
> 
> -- 
> -------
> http://sperling.com  http://ancientstones.com  http://earthstones.com
> 

The second parameter was only added in PHP 5.3.0, so I presume your PHP
version is before that.

Thanks,
Ash
http://www.ashleysheridan.co.uk




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to