4,6,8,11,12 records Deleted
public function delete_data($id){
$this->db->where_in('campus_id', $id);
$this->db->delete('sections');
}
3,5,6,7 records not Deleted
public function delete_data($id){
$this->db->where_not_in('campus_id', $id);
$this->db->delete('sections');
}
Wow I Got It..
solved How to Delete Specific Multi Records in Codeigniter [closed]