CRUD (Create, Read, Update, and Delete) is a basic requirement when working with database data.
In this tutorial, I show how you can select, insert, update, and delete a record from the MySQL database in the CodeIgniter 4 project.
In the example, I am creating a page to add a new subject and list subjects with the edit and delete buttons.