how to integrate database in codeigniter in hindi

Published: 29 September 2021
on channel: Crew Era
61
2

In CodeIgniter, go to application/config/databse.php for database configuration file.


In database.php file, fill the entries to connect CodeIgniter folder to your database.


The config settings are stored in a multi-dimensional array as shown above. Fill out your connection details to connect to database.

You can also specify failover in the situation where main connection cannot be established. This can be specified by setting failover as shown below. You can write as many failovers as you want.


Automatically connecting Database

The auto connect feature will load your database class with every page load.

To add auto connect go to application/config/autoload.php and add the word database to library array.


On this page of the site you can watch the video online how to integrate database in codeigniter in hindi with a duration of hours minute second in good quality, which was uploaded by the user Crew Era 29 September 2021, share the link with friends and acquaintances, this video has already been watched 61 times on youtube and it was liked by 2 viewers. Enjoy your viewing!