I can't seem to find a way to this in PHP using arrays.
$id_qty1 = array(1 => 20, 2 => 30, 3 => 40);
$id_qty2 = array(1 => 30, 2 => 20, 3 => 50);
I would like to check one array against the other and:
if same key and bigger value do one thing
if same key and smaller value do another thing