If he said <br/>, then his entire argument makes no sense.  The nl2br()
function returns <br />, not <br/>.  I'm not sure what he's having
difficulty with. =)

I think that I just assumed that by saying <br/> he actually meant <br />.

Daniel

----- Original Message -----
From: "Hojtsy Gabor" <[EMAIL PROTECTED]>
To: "Daniel Beckham" <[EMAIL PROTECTED]>
Sent: Saturday, April 21, 2001 5:13 AM
Subject: Re: [PHP-DOC] Could somebody pls. correct a typo?


> > No, it's not difficult, but why should it really matter?  <br /> or <p
/>
> or
> > <hr />, et. al. should all be compatible with older browsers.  Like I
> said,
> > it's perfectly valid SGML/XML.
> >
> > The following html works flawlessly in NS 4.72:
> >
> > <html>
> > <head><title></title></head>
> > <body>
> > This is a test.
> > <p />
> > This is another test.<br /><br /><br />
> > This is a final test.
> > <hr />
> > </body>
> > </html>
>
> Original text by Thomas:
>
> | since Browsers like Netscape 4.x don't react on <br/>
>
> He said <br/> not <br /> the first wont work (see the XHTML spec).
>
> Goba
> ........................................................... . . .  .  .
> Editor of the Hungarian PHP manual, Admin of the Hungarian PHP mirror
>
>
>

Reply via email to