Are you looking at the output in a web browser? Martin
-----Original Message----- From: Michael P. Carel [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 2:25 PM To: php Subject: [PHP] wordwrap not working Hi, Im testing the example in the http://www.php.net/manual/en/function.wordwrap.php and it seems not working it still printing the whole word and not wrapping. Im using php4.05 in my redhat 6.2 using an apache. Here's the sample: <? $text = "The quick brown fox jumped over the lazy dog."; $newtext = wordwrap( $text, 20 ); echo "$newtext\n"; ?> 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. Please help Regards, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php