View Full Version : using textarea field for update

09-26-2006, 02: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)?

09-26-2006, 04:19 PM
Hi there gtriant,