Connect to Multiple Databases in Codeigniter

Codeigniter framework provides easy way to connect multiple databases on servers. In this tutorial explains how we can connect multiple databases with in a codeigniter application. Step-1 : Open application/config/database.php file in your codeigniter application. The file contains a default database configuration. Copy the code and paste it on the same page. Rename $db[‘default’] to […]

Continue Reading

Export Data to Excel in PHP Codeigniter using PHPExcel Library

This section cover how to export Data from Database(MySql) to Excel file in Codeigniter Framework by using PHPExcel library. For this follow the instructions given below, Step-1 : Open database.php file under application/config folder of your codeigniter application. update hostname, username, password and database. Step-2 : Open config.php file under application/config folder of your codeigniter application […]

Continue Reading