loading textfields from database

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
taha
Forum Newbie
Posts: 17
Joined: Tue Nov 22, 2005 2:40 pm

loading textfields from database

Post 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???
foobar
Forum Regular
Posts: 613
Joined: Wed Sep 28, 2005 10:08 am

Re: loading textfields from database

Post 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.
Post Reply