Re: [PHP] Cutting long strings for tables

2001-03-01 Thread Clayton Dukes
Juan, I'm not sure, but isn't there a wrap function? - Original Message - From: Juan Germano <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 01, 2001 6:29 PM Subject: [PHP] Cutting long strings for tables > Hi. I use this function with th

[PHP] Cutting long strings for tables

2001-03-01 Thread Juan Germano
Hi. I use this function with the strings I'll be showing in tables to cut strings too long without spaces. To make it clear: The table will be 50px width if $str isn't too long. Let's say: $str="" The table goes to hell. So: function c