$text = "this is a test. this is a test. this is a test. this is a test. this is a test. this is a test. this is a test."; $text = wordwrap($text, 20, "<br />"); print $text;