$categories => Array([0] => Jewelry & Accessories,[1] => Pet Care)
$categories_master => Array([0] => Jewelry & Accessories,[1] => Apparel,[2] => Beauty & Fragrance)
I have two arrays like above,
I have to check like this in_array($categories,$categories_master)
, I know it wont work but I need to return 1 or true for anyone match with $categories_master
array