Using PHP (example needed), how can I save fields on a form to a database
Posted on 2011-03-14
Can someone please provide me with an example with the following parameters?
I have a database named "SiteConfig" and a table called "configurations".
I have created the following fields in the "configurations" table:
-I need an example of a PHP page that can connect to a database
-A PHP page with the fields from the database:
- The fields helpdesk, shopping_cart and backup_server are SELECT fields
- The field notes is a TEXT AREA field
- The field version is a TEXT BOX
I need this data to be populated in their specified areas when the page is loaded
I need an "update" button that will update the new values to the database
When this page is updated, I need a message "Variables have been updated"