Which file in CodeIgniter is used to set up database connection details?

  • config.php
  • connections.php
  • database.php
  • db_config.php
In CodeIgniter, the database.php file is used to store and configure database connection details, including hostname, username, password, and database name. This centralizes database settings.
Add your answer
Loading...

Leave a comment

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