$result = @mysql_query($get_orderDetails);
$row = mysql_fetch_assoc($result);
$property_street_type=$row['property_address_street_type']
Say that $property_street_type =='3' How would one convert that into a name value given the following array
$app_list_strings['orders_property_street_type_dom']= array (
0 => 'St.',
1 => 'Dr.',
2 => 'Ave.',
3 => 'Cir.',
4 => 'Ln.',
5 => 'Way',
6 => 'Pl.',
7 => 'Blvd.',
8 => 'Ct.',
9 => 'Pkwy.',
);