$this->db->like('domain_name',$domain_name); $this->db->distinct(); $query = $this->db->get('complaints'); return $query->result();