ci find record code example Example: get single row in codeigniter $query = $this->db->get(); $ret = $query->row(); return $ret->campaign_id;