0
I have these two arrays in php:
Array
(
[0] => nome
[1] => cargo
[2] => email
)
Array
(
[0] => Array
(
[0] => nome1
[1] => cargo1
[2] => [email protected]
)
[1] => Array
(
[0] => nome2
[1] => cargo2
[2] => [email protected]
)
)
I wanted to combine the two so that the result would be as follows:
Array
(
[0] => Array
(
[nome] => nome1
[cargo] => cargo1
[email] => [email protected]
)
[1] => Array
(
[nome] => nome2
[cargo] => cargo2
[email] => [email protected]
)
)
Any idea how I can do this?
I don’t think you understand my question, this will combine the two but that’s not what I want...
– helderk
Really, I had not understood. I woke up now.. kkk I will adjust
– Bruno Rigolon
I’ve adjusted the code now to what you need. P
– Bruno Rigolon
Perfect, that’s right. Thank you
– helderk