RE: [PHP] table width problems

From: Date: Fri, 23 Feb 2001 16:42:08 +0000
Subject: RE: [PHP] table width problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136727@lists.php.net to get a copy of this message
You can use the code below to trim a string to a specified number of charecters. Change 64 to how long you want the string to be. This won't cut words in half. wordwrap( $text, 64, "<Br>", 0); -----Original Message----- From: Adriaan Nel [mailto:adriaan@nellen.co.za] Sent: Sunday, February 23, 2003 10:27 AM To: php-general@lists.php.net Subject: [PHP] table width problems Hi, I've got a table that gets it's contents from a database, the problem is that even though I specify the width of the table, it is still wider than it's supposed to be, cause some of the info from the table doesn't wrap.....my question is if there is a way to force td wrapping when it exceeds the allowed width?? Please help thanks Adriaan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#136727) next »