

Here we have to create five pages such as config.php (to provide the connection), view.php (to display the records from the database), insert.php (to insert records into the database), edit.php (to edit records), and delete.php (to delete records). action () - This method has receive ajax request for upload file on server. In this article we will learn how to insert, edit, update and delete records from the database using PHP. index () - This is root method of this class and it will load file in browser.
