I am currently trying to develop a database maintance app to manage a
database over the Internet. I am having problems to put the values I got
from the database back onto the HTTP form. I have to put the results into
edit boxes so that they can be edited.
Any help would be appreciated. My e-mail is pie...@dba.co.za
Thanx
Pieter van der Merwe
This ain't about CGI itself. It has more to do with HTML knowledge.
When you write out your resulting HTML document, simply put the values from
the DB Table inside the tags defining the inputs:
the VALUE attribute has to be set in order for the input to have an initial
value:
<INPUT TYPE="text" NAME="input1" VALUE="this is the initial value of this
input">
Same goes for all types of inputs.