Results 1 to 2 of 2
aligning page contents Forum: CSS ForumReplies: 4
Displaying data from database in TEXTAREA of form Forum: ASP ForumReplies: 2
How to Decode the data from Database using database handler? Forum: Search Engine Optimization - SEO - ForumReplies: 1
05-14-2007, 11:43 PM #1
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.
05-15-2007, 03:42 AM #2
Re: Display database contents in TEXTAREAHTML Code:
<textarea name="contents">[retrieved database value]</textarea>