My query is like this :
$group_id = $session[\'group_id\']; $sql = \"SELECT * FROM notification WHERE group_id IN(?)\"; $result = $this-&g
I prefer you can use where_in command as below:-
$this->db->select('*'); $this->db->where_in('group_id',$group_id); $this->db->get('notification');