I am experiencing a problem with one of my newest projects. I have a form that has a bug in it, when the user adds a line (without spaces) larger than the table it prints in, the script crashes. Ie. I have a table width at 50 and some spammer comes in and types in a 51 character line, it defaces the page by breaking the tables and it actually goofs up the script. Is there a way a table can override the size so no matter what you put inside the table will not be forced to enlarge?
If not can someone show me a way to forcefully put in a hyphen (if those would make the table retain it's size) if someone posts a one-word message larger than a specified limit?