I have a multidimensional associative array and I can not find the way to go through it, being each of the values accessible:
$paises = ['espanya' => $espanya, 'usa' => "$", 'brasil' => "R$", 'canada' => "C$", 'colombia' => "COP", 'hongkong' => "HK$", 'hungria' => "HUF", 'rusia' => "R$", 'singapur' => "S$", 'sudafrica' => "ZAR", 'mexico' => "MXN", 'argentina' => "ARS"];
$espanya = ['€' => 'desc_ES'];
foreach ($paises as $pais => $moneda) {
//código
}
For example, for the case of the first value of the array espanya
I want to access espanya
, €
and desc_ES
. Is that possible?