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..
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
--
-
Tedd,
> -Original Message-
> From: tedd [mailto:t...@sperling.com]
> Sent: Saturday, September 26, 2009 11:23 AM
> To: PHP General List
> Subject: [PHP] nl2br() question
>
> Hi gang:
>
> The manual says:
>
> http://www.php.net/nl2br
>
>
On Sat, Sep 26, 2009 at 11:22, 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
At 11:27 AM -0400 9/26/09, Daniel Brown wrote:
On Sat, Sep 26, 2009 at 11:22, tedd wrote:
I am using PHP Version 5.2.10
whereas the `is_xhtml` parameter was added in 5.3.0. And
5.3.0 > 5.2.10. ;-P
--
Ahhh, I didn't look far enough down the page.
Thanks -- I figured out a so
5 matches
Mail list logo