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',
I need to learn about this that how to access this and this blog help me a lot to do this easily as I required. For more detail I check the top essay writing services and it’s also a really good place for finding articles like this.