Guys, I have a very difficult situation, I'm not sure if I take the right approach correctly or not. I'm trying to match values between two arrays and then run if else statement ... here goes what I'm trying to do
$array1 = array('html','php','js','css'); $array2 = array('php','python','html','java');
I want to check where the values of these two arrays match each other. both php and html are common to both, and also where they do not match.
thanks
Aman virk
source share