I have an array that I'm storing in a Session variable as follows:
[availableCountries] => Array
(
[Australia] => 1031
[New Zealand] => 1027
[USA] => 1029
[Singapore] => 1026
[Canada] => 1028
[France] => 1030
)
I have a variable that stores a selected key value, e.g.:
$country = '1026';
I now need to get the name of the matching Country from the array, e.g. Singapore where $country = '1026'
"LP1026"relates to1026. Is the value stored in$countryalways prefixed with"LP"or is that prefix dynamic?