Array
(
[0] => Array
(
[id] => 69
[user_is] => 24
)
[1] => Array
(
[id] => 67
[user_is] => 24
)
)
then i have
Array
(
[0] => 59
[1] => 55
[2] => 58
[3] => 56
[4] => 57
[5] => 54
[6] => 19
)
I want to check on the second array if those Ids exists in array1[key][user_is]
whats best way?
foreach($arr2 as $v){
if(in_array($v, $arr1[user_is])) // I know this does not work cause i need to work with the key of array 1
}