2
You can do it something like this:
$findThis = mb_strtoupper("MA");
$countryArray = Xoopslists::getCountryList();
$countryName = (array_key_exists($findThis, $countryArray)) ? $countryArray[$findThis] : "Unknown country code";
echo "Country code {$findThis} is: {$countryName}";
Which should display:
Quote:
Country code MA is : Morocco