I'm looking for a built in php function or a way to take 2 arrays, compare them, and then return only the values that appear in both arrays. thanks!
opposite of array_diff
I'm looking for a built in php function or a way to take 2 arrays, compare them, and then return only the values that appear in both arrays. thanks!
Look at [man]array_intersect[/man]!
bingo, thanks!