Controlling length of table data
| From: | Gaylen Fraley | Date: | Thu, 15 Nov 2001 03:54:18 +0000 |
| Subject: | Controlling length of table data | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74660@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?
--
Gaylen
gfraley5@earthlink.net
Home http://www.gaylenandmargie.com
PHP KISGB v2.22 Guestbook http://www.gaylenandmargie.com/phpwebsite