Howdy ya'll,
I have two arrays that I want to compare. They contain email addresses:
$new_email_array
$old_email_array
// If only in new array, place in $array1
// If only in old array, place in $array2
// If in both arrays, place in $array3
what's a good way to do this cleanly?
so, for each value in $new_email_array i'll need to see if there is a match in $old_email_array. if there is, put it in $array3. for the values left over in $new_email_array, put them in $array1. for the values left over in $old_email_array, put them in $array2
Thanks alot!