MySQL Insert Query

To insert data into MySQL table you would need to use INSERT INTO SQL

Syntax:

To insert string data types it is required to keep all the values into double or single quote, for example:- “value”.

Inserting Data Using PHP:

Inserting a row in “emp_info” table:

Inserting Form Data Using PHP: