Multiple Database Connection in CodeIgniter

Опубликовано: 30 Сентябрь 2024
на канале: Knowledge Thrusters
1,993
16

In this CodeIgniter video, you will be able to make multiple connection to database.

Steps:
Make a default connection
Load database in autoload
then create another database and define in database.php file
then load database using $this-load-database();
then use the database object to fetch from new db.

Documentation:
https://codeigniter.com/userguide3/da...


#codeigniter #php #knowledgethrusters