Crud operation with mysql using codeigniter

In this tutorial, I will inform you how to perform crud operation in CodeIgniter.

CRUD stands for create, read, update and delete. if you create a user-friendly website at that time need to crud operation.

if you want to create CRUD operation in CodeIgniter, then the first configuration of the database and connect the MySQL database then after creating CRUD operation in Codeigniter.

in our post through, We will go how to connect CodeIgniter to MySQL and perform the CRUD operation.

1. Create Database in table

2. Connect to Database

Go to config folder and open database.php file some changes in this file like as hostname, database username, database password and database name.

3. Create a Register Controller.

4. Create Register_model Model

5. Create list.php file in register folder.

6. Create add.php file in register folder.

7. Create edit.php file in register folder.

Leave a Reply

Your email address will not be published. Required fields are marked *