How to retrieve data from database in CodeIgniter?

In this CodeIgniter tutorial, I will show you how to fetch data from database using model, view, controller approach. As usual, we need need to setup database connection in order to perform actions like select, insert, […]

How to connect to MySQL database in CodeIgniter?

Yesterday someone asked me to make a tutorial about Connecting to Database in CodeIgniter Framework. In order to make connection to database in Ci , we need to do only few configuration changes in your database.php config […]

Multiple Database Connection in CodeIgniter

You Can Connect to Multiple Database in the same Codeigniter application easily. To use Multiple Database Connections you have to crate multiple Configurations Arrays. By default CI had following line of code to connect […]

DMCA.com Protection Status