The fetch_assoc() method is used to fetch the records in the form of array and process each row. The program is using an object oriented method to connect to database.
Link for CRUD Part1 video on adding data to table using Form is-
• PHP CRUD Part#1 - Inserting Data into...