RE: [PHP] nl2br returns <BR />? normality or a bug?
| From: | Maxim Maletsky | Date: | Sat, 06 Apr 2002 03:20:27 +0000 |
| Subject: | RE: [PHP] nl2br returns <BR />? normality or a bug? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91834@lists.php.net to get a copy of this message | ||
There we go.
Thanks Rodolfo.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
> -----Original Message-----
> From: Rodolfo Gonzalez [mailto:rodolfo@equinoxe.g-networks.net]
> Sent: Saturday, April 06, 2002 2:23 AM
> To: Maxim Maletsky
> Cc: 'James Cox'; 'Andrew Brampton'; php-general@lists.php.net
> Subject: RE: [PHP] nl2br returns <BR />? normality or a bug?
>
> On Sat, 6 Apr 2002, Maxim Maletsky wrote:
> > But again (I like insisting on such things),
> > Why do I have it now and didn't have it before? Why did it change
> > anyway? I haven't seen it on any other my server and I use it quite
a
> > lot.
>
> Directly from the manual:
>
> Note: Starting with PHP 4.0.5, nl2br() is now XHTML compliant. All
> versions before 4.0.5 will return string with '<br>' inserted before
> newlines instead of '<br />'.
>
> http://www.php.net/manual/en/function.nl2br.php
>
> Regards.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php