On Sat, Sep 26, 2009 at 11:22, tedd <t...@sperling.com> 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?
Read the manual fully, Teddence. Check the Changelog info, specifically. > 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 -- </Daniel P. Brown> daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Check out our great hosting and dedicated server deals at http://twitter.com/pilotpig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php