- 15
- Jul
PHP and MySQL are one of the most used technologies on the web today. By using about 7 different script files we can add, update, and delete rows from a MySQL table.
Example of completed project:

Download the Simple PHP MySQL Table Editor.
Lets get started. I will explain each section of the script files so you have an understanding of how it works. You can download the project in a zip file above. The download also includes the example MySQL schema structure so you can test the script right away.
All examples in this post assume that you have already typed the php opening and closing tags. I cannot inlcude them on my page due to Wordpress plugins that I am running.
ALSO, because my PHP color coder sometimes runs off the page, you may have to click “show plain code” to view all typed PHP code.
HEADER.PHP:
Header.php stores the HTML header that include the title, etc. I am not going into detail since this is not a HTML tutorial.
I always start my PHP files with comments to indicate the purpose of the script and give contact details in case anyone has questions. Comments in PHP are indicated with ‘//’ for single lines and ‘/*’, ‘*/’ for multiple line comments:
Read the rest of this entry …








Open source, cross platform 





