Page 1 of 1
loading textfields from database
Posted: Tue Nov 29, 2005 9:38 am
by taha
i have a form with x number of textfields, when the user selects load, i need to fill in the textfields with the data from the database.
how would i go about doing this???
Re: loading textfields from database
Posted: Tue Nov 29, 2005 9:43 am
by foobar
That would require
AJAX or making the Load button post a form back on itself. To get the requested data from the database, you would set up a dynamic SQL query SELECT'ing the requested fields and proceed by printing out the text fields with their contents.