To grab codeigniter database name
it is enough to get the present(active) database in codeigniter
echo $this->db->database;
Just use the public variable from the Database Driver object?
$this->db->database;
it is enough to get the present(active) database in codeigniter
echo $this->db->database;
Just use the public variable from the Database Driver object?
$this->db->database;