0
I’m reading some API
, and faced a situation with array
, that I’m having a little trouble, I searched a lot in the forum before asking, however, as I have little experience I’m breaking my head.
The API structure comes this way:
Array
(
[0] => Array(
[cidade] => Rio de Janeiro
[estado] => RJ
)
)
Array
(
[0] => Array
(
[cidade] => São Paulo
[estado] => SP
)
)
I need to take the top content and create contents to turn into a array
single, as below:
Array
(
[0] => Array
(
[cidade] => Rio de Janeiro
[estado] => RJ
)
[1] => Array
(
[cidade] => São Paulo
[estado] => SP
)
)
thank you very novic. helped me a lot!
– Marcus Silva