Don't know about version 4.0.4, but I'm testing 4.0.5-dev now and it's
outputting <br />.

Daniel

----- Original Message -----
From: "Damien Seguy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 2:23 AM
Subject: Re: [PHP-DOC] Could somebody pls. correct a typo?


> Hi,
>
> > > > > -> would somebody pls. correct <br/> to <br> in both lagunages?
> > > > That's not a typo.  nl2br() uses XHTML <br /> tags since PHP-4.0.4
> > Thats the correct syntax nowadays.
> Are you sure of this? I just tested it on a 4.0.4pl1 version, and it still
> gives me <br>.
> Or this may be browser dependent?  Or am I missing something?
>
> Best regards,
> Damien Seguy
>
>

Reply via email to