I have two arrays. I need to find the ones that match and the ones that don't match.
Array 1 has about 2000 records
Array 2 has about 7000 records
How could I find the keys of the arrays from Array 1 that match Array 2 and the ones that don't match?
I tried a combination of things, but they don't seem to be very accurate and I run into different problems. I was doing something like this
Thanks in advance
foreach($array2 as $key => $value)
// it's a match!
// not a match