Web Analytics Made Easy -
StatCounter using textarea field for update - CodingForum


No announcement yet.

using textarea field for update

  • Filter
  • Time
  • Show
Clear All
new posts

  • using textarea field for update

    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)?

  • #2
    Hi there gtriant,coothead
    ~ the original bald headed old fart ~