In Codeigniter, I want to access DB config username, password, and database name in a controller or any other pages. How can I access the database config?
My config page:
'hostname' => 'localhost',
'username' => 'root',
'password' => 'F@676GJKGHJH(^ty',
'database' => 'myDatabase',
'dbdriver' => 'mysqli',
Question and answer is powered by AnsPress.io