<?php $array = array("AA","BB","CC","DD"); $check1 = array("AA","CC"); $check2 = array("EE","FF"); if(array_intersect($array, $check1)) { echo "Exist"; }else{ echo "Not exist"; } if(array_intersect($array, $check2)) { echo "Exist"; }else{ echo "Not exist"; }
You have javascript disabled. You will not be able to edit any code.