That sounds like a job for array_diff
.
Returns an array containing all the
entries from array1 that are not
present in any of the other arrays.
That sounds like a job for array_diff
.
Returns an array containing all the
entries from array1 that are not
present in any of the other arrays.