In the following array:
"options": {
"front-electric": {
"pt": "Vidros Eléctricos dianteiros",
"en": "Front electric"
},
"electric-diant-back": {
"pt": "Vidros Eléctricos diant. + trase.",
"en": "Electric diant. + Back."
},
"darkened": {
"pt": "Vidros Escurecidos",
"en": "Darkened"
},
"soundproofing-and-athermic": {
"pt": "Vidros Insonorizantes e Atérmicos",
"en": "Soundproofing and Athermic"
}
}
How can i echo the value 'pt' of all sub keys from 'options' array?
I could try something similar to ['options']['pt'], but i don't understand how to refer to "front-electric", "electric-diant-back"... that are sub key from 'options' and all of them have different text.