I am trying to each out the matching airport code value. I.e. if it matches HKG, it will echo Hong Kong.
$city = array (
'HKG'=>'Hong Kong',
'SIN'=>'Singapore',
'TPE'=>'Taipei',
'HND'=>'Tokyo',
'MDW'=>'Chicago',
);
if(in_array($city, $row->city)){
echo
}