Am Sonntag, 22. Dezember 2002 12:17 schrieb Derick Rethans:
> On Sun, 22 Dec 2002, Christian Wolfgang Hujer wrote:
> > Hello dear PHP documentation team,
> >
> >
> > I suggest you add in the documentation that
> >
> > 1. nl2br() does *NOT REPLACE* newlines with break elements but inserts a
> > break element before every newline.
>
> From the documentation:
> "nl2br --  Inserts HTML line breaks before all newlines in a string"
>
> > 2. nl2br() *CHANGES THE ORIGINAL STRING* and returns a reference to it,
> > but does not create a new string.
>
> uhm, it doesn't do that. Can you provide a script to demonstrate?
Yeah, it does.
Oh, sorry it doesn't.
I confused myself.
Sorry.
Please also delete my user contributed note.
And reading properly helps. Somehow I was reading "inserts *for* all newlines" 
instead of "inserts *before* all newlines".

Sorry for any inconvenience and taking your time.

Bye and thanks a lot. Sorry.
-- 
ITCQIS GmbH
Christian Wolfgang Hujer
Geschäftsführender Gesellschafter
Telefon: +49  (0)89  27 37 04 37
Telefax: +49  (0)89  27 37 04 39
E-Mail: [EMAIL PROTECTED]
WWW: http://www.itcqis.com/

--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to