> If your viewing the output through a browser, try this; > > <? > $text = "The quick brown fox jumped over the lazy dog."; > $newtext = wordwrap( $text, 20, "<br>"); > echo "$newtext\n"; > ?>
Ah, this is a better solution than mine -- I didn't know wordwrap had the 3rd (and 4th) parameters till now. Joel -- [ joel boonstra | [EMAIL PROTECTED] ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php