Computer Guy
asked on
Using PHP (example needed), how can I save fields on a form to a database
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:
- version
- helpdesk
- shopping_cart
- backup_server
- notes
-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"
I have a database named "SiteConfig" and a table called "configurations".
I have created the following fields in the "configurations" table:
- version
- helpdesk
- shopping_cart
- backup_server
- notes
-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"
ASKER
Can you please also include an update button
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry for the cunfusion.
Open in new window