I have this array:
Array
(
[Bairro] => Array
(
[0] => Aberta dos Morros
[1] => Camaquã
[2] => Cavalhada
[3] => Cristal
[4] => Guarujá
[5] => HÃpica
[6] => HÃpica/Jardins do Prado
[7] => HÃpica/Lagos de Nova Ipanema
[8] => Ipanema
[9] => Ipanema/Altos do Ipê
[10] => Ipanema/Jardim Verde
[11] => Menino Deus
[12] => Nonoai
[13] => Terraville
[14] => Tristeza
[15] => Vila Assunção
[16] => Vila Nova
)
)
I managed to get it through this script:
$cidades = $others['resultado'];
print_r($cidades);
Now I wanted to extract each value as a string, for example:
Vila Nova simply.
Probably declare a% void% void before, make a array
and then store everything in a variable to get something like:
<a href="/Aberta dos Morros">Aberta dos Morros</a>
<a href="/Cavalhada">Cavalhada</a>
<a href="/Menino Deus">Menino Deus</a>
<a href="/Terraville">Terraville</a>
<a href="/Vila Nova">Vila Nova</a>