Forum Moderators: coopster
snipped url
[edited by: coopster at 11:35 am (utc) on Mar. 18, 2005]
[edit reason] removed url per TOS [webmasterworld.com] [/edit]
Yes, this is how a textarea works, it doesn`t wrap automatically. What you need is the wordwrap() [uk2.php.net] function.
Hope that helps.
dc
I think table stretching will occur whether you have specifed percentage or pixels for your size. When you display your data, try using the function I mentioned.
So, if your database variable is $row['message'], use:
wordwrap($row['message'], 70, "\n", 1);
This example wraps every 70 characters.
dc