Log in

View Full Version : HTML form to retrieve and update mysql DB



php-newbies
09-06-2011, 11:44 AM
Hi all,

I am new to php, I have a customer database with about 6 fields. Now I want to create an html page with a search button. And I have aready created a text boxes to match the fields on the database table.

The idea is that when I enter a customer phone number and hit the search button, the text boxes will be populated and I can update the records. Finally is it possible to put all the code in one single html form?

Thank you for your time and help.

alienbdit
09-06-2011, 09:24 PM
This will help you : http://www.w3schools.com/PHP/php_mysql_insert.asp

JShor
09-06-2011, 09:53 PM
1. What does your database structure/fields look like?
2. What do you want the HTML of the output to look like?

Post some code as to the HTML layout that you have.