What is the function to remove all of
the elements from array 1 that are not in array 2 and return them.


Try: array_diff($arr1, array_intersect($arr1, $arr2));

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to