Hi,
When I enter data through a form, using javascript trim function I remove all the left/right spaces if there is any before inserting in MYSQL,
When I display the same data like following
<td align=left><textarea name=display_size rows=4 cols=25 >'.$display_size.'</textarea></td>
Looks like I am geting spaces from the database. because even if there is one word in the database my textarea scroll bar gets activated.
I don't know why I am geting spaces?
Thanks
When I enter data through a form, using javascript trim function I remove all the left/right spaces if there is any before inserting in MYSQL,
When I display the same data like following
<td align=left><textarea name=display_size rows=4 cols=25 >'.$display_size.'</textarea></td>
Looks like I am geting spaces from the database. because even if there is one word in the database my textarea scroll bar gets activated.
I don't know why I am geting spaces?
Thanks