Obtenga una sola fila en CodeIgniter
$query = $this->db->get();
$ret = $query->row();
return $ret->campaign_id;
Lokesh003
$query = $this->db->get();
$ret = $query->row();
return $ret->campaign_id;