496 users online (0 members and 496 guests)  

  Results 1 to 2 of 2


  1. aligning page contents    Forum: CSS Forum
    Replies: 4
  2. Replies: 2
  3. How to Decode the data from Database using database handler?    Forum: Search Engine Optimization - SEO - Forum
    Replies: 1
  4. Replies: 1
  1. #1
    preetimoney's Avatar
    New User

    Join Date
    May 2007

    Display database contents in TEXTAREA

    I am designing a HTML form wherein users enter some inputs such as their remarks and commentsin textarea. Theses remarks are sved on to database. In the "Edit" mode, the form must be displayed and these entered comments must be displayed in the text area for th users to be able to modify them. How do I achieve it?
    In the case of text boxes, it is easy since if you give <INPUT TYPE="TEXT" VALUE="retrieved database field bvalue"> the database content will be displayed, but since the <TEXTAREA> tag does not have an attribute called VALUE, how do I display the contents of the text area which has been successfully saved in the database?
    I am programming in ASP with MS Access as backend. Pls help
    Last edited by preetimoney; 05-14-2007 at 11:54 PM.

  2. #2
    DeadMeatGF's Avatar

    Join Date
    Sep 2005

    Re: Display database contents in TEXTAREA

    HTML Code:
    <textarea name="contents">[retrieved database value]</textarea>
    I believe should do the trick.

Tags for this Thread