...

View Full Version : using textarea field for update



gtriant
09-26-2006, 01:52 PM
I am creating an update form for a database and one of the input fileds is retrieving and updating text-type data.
The problem is that the text(varchar) data in the database contain line breaks and so by using a <input type="text"> field, i can only see the first line of the text that is stored.
Also i can't submit text with line breaks because naturally when i hit "enter" the update is activated.

I think i have to use a <textarea> field. But how can i view the text in the database from that field (there is no such thing as "value" attribute for that field)?

coothead
09-26-2006, 03:19 PM
Hi there gtriant,

http://www.htmlforums.com/showpost.php?p=546173&postcount=2
coothead



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum