SyntaxFix
Write A Post
Hire A Developer
Questions
you can use like this
$result = array_intersect($array1, $array2); print_r($result);
http://php.net/manual/tr/function.array-intersect.php