i wanted to get particular value from array .
$countries = array("af"=>"Afghanistan","ax"=>"Aland Islands","al"=>"Albania);"
And i have value in variable
$country_code="ax";
Using this variable i want to get array value from array
i am new to php ,thank you
$countries[$country_code]??null, this will return null if there isn't one in the array.