I want to know where I can retrieve the result of a query in Codeigniter.
The code:
$this->db->where('usuario', $this->input->post('drcorreo'));
$cdb = $this->db->get('usuarios');
How do I save the name of the user from this query in the session class?