In this tutorial I have created one html form , connection file and one insert_data.php page. In HTML form have used POST method to send the Data to insert_data.php, an in index.php first i used mysqli db connection for connecting to MYSQL Database Engine and i used mysqli for selecting Datbase in connection.php , and at last i used mysqli query for inserting Data in mysql Database.