Need to code test <?php $data['id'] = 1; $data['name'] = 'bob;
$filterKeys = array('name');
$dataFiltered = array_intersection_key($data, array_flip($filterKeys));
No comments:
Post a Comment