* 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