I have two arrays. The first one looks like:
Array1
(
[14] => foo
[15] => bar
[16] => hello
}
and the sencond looks like:
Array2
(
[Label1] => foo
[Label2] => bar
[Label3] => hello
[Label4] => foo
[Label5] => bar
}
I would like to compare the values of array1 against array2, if they match, I would like to return the corresponding key of array2.
Any help will be appreciated. Thanks