Hi!
I have a form which contains "About me:" textarea. The data is displayed on another page within website after submission. If someone fills in the textarea with a normal text and submits it, the text appears fine on the other page, no problems. If lets say someone enters "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" and submits, then on the other page the row with the "aaaa" goes out of boundaries, out of the layer, doesn't stop at a certain point and go to the next row.
Think i need some kind of validation script, white spacing validation or something, but i don't know what. If you can help out with anything i'll appreciate it.
Thanks!
Row goes out of boundaries in textarea
Moderator: General Moderators
-
litebearer
- Forum Contributor
- Posts: 194
- Joined: Sat Mar 27, 2004 5:54 am
Re: Row goes out of boundaries in textarea
Thank you, but have any idea how to put that into this "mess":
Code: Select all
<span style="color:#E3E9F2;font-family:Courier New;font-size:13px;font-weight:bold;">About me:</span><?php echo '<span style="color:#EFF3F7;font-family:Courier New;font-size:13px;">'.$aboutme.'</span>'; ?><br /><br />Re: Row goes out of boundaries in textarea
Code: Select all
<span>About Me</span><span><?php echo wordwrap($aboutme, 15, '<br />', TRUE); ?></span>Re: Row goes out of boundaries in textarea
Thank you very much! It works! I love smart and helpful people 