PHP Insert Data
Inserting data into tables.
PHP MySQL Insert Data
The INSERT INTO statement is used to add new records to a MySQL table.
Syntax
INSERT INTO table_name (column1, column2, column3,...)
VALUES (value1, value2, value3,...)
If a column is AUTO_INCREMENT (like the "id" column) or TIMESTAMP (like the "reg_date" column), it is no need to specify it using the SQL query; MySQL will automatically add the value.