array_intersect if display all matches, and ones that do not match ?

if (array_intersect($1,$2))
{
//the ones that match??? how would I show on the ones that match?
} else
{
//the ones that do not match how do I show the ones that do not match?
}

I have tried return false and return true nothing.. i am not sure what I am doing incorrectly I have also tried if (!array_intersect($1,$2))

from PHP http://ift.tt/1XBjGGk
via IFTTT
Previous
Next Post »
Thanks for your comment