Overview: Create a dynamic form to update, insert and delete database

Objective:

 
 

Create a form to update user’s education history. User can create a new record (new row), then add a new row to create another new record. User can also delete the row that he want to remove.

 
 


 
 


 
 


 
 


 
 

Steps involved.

 
 

  • Creation of the form (HTML)
  • Creation of the add button and remove button function (JQuery)
  • Creation of the database structure
  • Creation of $_POST management
  • Creation of the INSERT into database
  • Creation of the UPDATE to database
  • Creation of the DELETE from database
  • Update form from database
  • Update form from updated database again