i have Multi-Dimensional array and i have another one that have some of the id that exist in the first Multi-Dimensional
now what i need is to use filter function to filter any element that exist in the second single array
my Multi-Dimensional array is :
$Base = array
(
array("aa",1),
array("bb",2),
array("cc",3),
array("dd",4),
array("ee",5),
array("ff",6),
array("gg",7),
);
and the another one is :
$child = array(1,4,5);
what i expect now to filter the array and get
$new = array
(
array("aa",1),
array("dd",4),
array("ee",5)
);
$childavailable to it and just returnin_array($arg[1], $child).