Source
Quick Reference
PHP
- echo - this prints out data following the echo command to the browser.
- $_POST - The post tag holds all the form fields and their data that have been submitted by a form that uses the POST method.
MySQL
uppercase characters are MySQL commands, lowercase characters are custom data.
- INSERT INTO - tells MySQL that it is going to INSERT data into the database, following to INSERT INTO is the table name you are inserting data into.
- Brackets "(xxx)" - Brackets contain multiple data, as you are not just adding one field. In the example the first set of data inside brackets are the fields you are inserting data into
- VALUES - tells MySQL it is going to insert the values into the defined table and fields, the following set of data inside the brackets is the data you are inserting.