I have two arrays,
Array one:
$amount = array(0 => 11, 1 => 22, 2 => 33);
Array two:
$id = array(1 => 1);
I would like to get a result like this, by comparing:
result = array(1 => 22);
I've been trying to do this with several PHP functions, but my brain has now melted.
Hope there is some help out there.