[PHP] Cutting long words

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

[PHP] Cutting long words

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