Search array value in another array and take answer as another array. Could any body tell me to get answer which functionality should be best in php.
First Array
Array
(
[0] => answer choice 1
[1] => answer choice 5
[2] => answer choice 4
)
Second array
Array
(
[65] => answer choice 1
[66] => answer choice 2
[67] => answer choice 3
[68] => answer choice 4
[69] => answer choice 5
)
Expecting answer
$result = array("65", "68", "69");
which method should be best to get answer ?