I want to create a database backup tool in codeigniter. So i want to grab the database name from controller. How should i do for that. Thanks for any answer.
Just use the public variable from the Database Driver object?
$this->db->database;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With