I have two arrays-
$ar = array("a","b","c");
$xy = array("a","b","c","d","e");
I have to find out each element in $ar in $xy. If all elements are in $xy then it should return true.  
I used in_array() but it returns true though one element is found.
Any help is appreciated. Thanks.
 
     
     
     
     
     
     
    