> This is really a combination html/php question, I believe. The problem is > that I have a table that displays a field of text that can be several > hundred bytes long. If, however, someone holds down a key and produces > 500 > letter 'x' the table data then distorts the table! Since the length of > the data needs to be several hundred bytes, is there someway to either > control the table data width so that the length of a non breaking string > of characters will not distort the table, or is there a php string > function to break the sentence into words and then I'd have to build some > logic to test the length?
Use wordwrap() ? Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]