I must suggest to just add like

    header("Content-Type: text/plain"); // Don't use HTML

To the top of examples like that...
-- 
// DvDmanDT
MSN: [EMAIL PROTECTED]
Mail: [EMAIL PROTECTED]
"Curt Zirzow" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> * Thus wrote John W. Holmes ([EMAIL PROTECTED]):
> > Thomas Hochstetter wrote:
> > >
> > >$text = "The quick brown fox jumped over the lazy dog.";
> > >$newtext = wordwrap($text, 20);
> > >
> > >echo "$newtext\n";
> > > [...]
> >
> > HTML does not render newlines. You need to use <br />. View the source
> > of this code in your browser and you'll see everything is on it's own
line.
> >
>
> Yes the documentation is a little misleading. I'm in the process of
> getting that changed in the documentation.
>
> Curt
> -- 
> "I used to think I was indecisive, but now I'm not so sure."



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

Reply via email to