PDA

View Full Version : Form from Database



zerggy
30 Dec 2009, 02:40 PM
Hello. I just have a quick question. I would like to create a form, that updates itself from a database. Meaning that I could change the value, id, and text of a form input by changing a database on the server.

I would assume that I need a SQL database and a way to transfer the data in the database into variables I can then put into the form fields.

If anyone know how to do this it would be greatly appreciated, but since this is kinda an off-the-wall question I assume I will have to research the solution myself. Does anyone have a good place to look for this solution? A good website? A book? I just don't know where to begin. Thank you.

erilidon
31 Dec 2009, 11:09 AM
You might be able to accomplish this with xml and ajax.

I created a photography website that pulls information from and xml file and displays it in real time. If the data in the xml file is changed the page changes accordingly.

If you are not familiar with them I would recommend starting with the w3schools tutorial.