I would like to know how to proceed to achieve the result below in PHP
.
The output I have today is:
Array
(
[0] => "0000000009999999"
[1] => "20181209"
[2] => "000000"
[3] => "REM BASICA"
[4] => "0.00"
[5] => "C"
)
Array
(
[0] => "0000000009999999"
[1] => "20181209"
[2] => "000000"
[3] => "CRED JUROS"
[4] => "0.02"
[5] => "C"
)
Array
(
[0] => "0000000009999999"
[1] => "20181210"
[2] => "102109"
[3] => "CRED TEV"
[4] => "70.00"
[5] => "C"
)
What I need is:
[0]
[Conta] => "0000000009999999"
[Data] => "20181209"
[Cod] => "000000"
[Historico] => "REM BASICA"
[Valor] => "0.00"
[Op] => "C"
[1]
[Conta] => "0000000009999999"
[Data] => "20181209"
[Cod] => "000000"
[Historico] => "REM BASICA"
[Valor] => "0.00"
[Op] => "C"
[2]
[Conta] => "0000000009999999"
[Data] => "20181209"
[Cod] => "000000"
[Historico] => "REM BASICA"
[Valor] => "0.00"
[Op] => "C"