> it should print like this:
> The quick brown fox
> jumped over the lazy dog.
> but it still printing like this:
> The quick brown fox jumped over the lazy dog.
HTML treats bunches of whitespace as one space. Look at the source of the
page; you'll see that it's doing what it should.
If you want your HTML to appear wordwrapped, modify your PHP to use the
$text = "The quick brown fox jumped over the lazy dog.";
$newtext = nl2br(wordwrap( $text, 20 ));
This will convert all newlines to <br> tags, and your HTML output will
look just like your text output.
[ joel boonstra | [EMAIL PROTECTED] ]
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php