Re: Controlling length of table data

From: Date: Thu, 15 Nov 2001 06:13:42 +0000
Subject: Re: Controlling length of table data
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-74666@lists.php.net to get a copy of this message
> 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

« previous php.general (#74666) next »