Insert Data into MySQL Database
SQL INSERT INTO statement are used to insert record in MySQL tables.
Let's write a MySQL query to insert data by using insert into statement, after this we will execute this insert query through passing it to mysqli_query() method to store data in MySQL table.
See the example which store the record in MySQL table.
Insert Record Into a Database From an HTML FormTry out this example by putting this code in insert_employee.php, A html form is displayed which hold the values from your side and then it will store the data in MySQL table by clicking submit button.