Which function in CodeIgniter is used to manually connect to a database if 'auto-connect' is set to false?
- $this->db->connect()
- $this->db->initialize()
- $this->db->manual_connect()
- $this->load->database()
If 'auto-connect' is set to false, the $this->db->initialize() function is used in CodeIgniter to manually connect to the database.
Loading...
Related Quiz
- The process of converting database result sets into custom formats is handled by the ________ method in CodeIgniter.
- Which method in CodeIgniter's database utilities is used to optimize a database?
- In CodeIgniter, data passed to the view are accessible as ________ variables.
- How do migrations in CodeIgniter assist in maintaining consistency across different environments?
- In CodeIgniter, joining two tables using Active Record Class is accomplished with the ________ method.