This post explains on how to insert HTML data to MySQL database using PHP. This is an application to store the details of books. This application is using a simple HTML form to submit book details. After this, a PHP code is written to read all the input details from HTML form and insert them into a MySQL database.
An XHTML form with Name, Address Line 1, Address Line 2 and E-mail text fields. On submitting store the values in MySQL table. Retrieve and display the data based on name using PHP.
This program is to develope demonstrate an XHTML document that illustrates the use of external style sheet, ordered list, table, borders, padding, color, and the tag.