I get the data from a checkout form, when user have two or more product, I have this array.
Array(
[nome] => Array
(
[0] => Nature herbs
[1] => Nature Baby
)
[qty] => Array
(
[0] => 1
[1] => 2
)
[prezzo] => Array
(
[0] => $23.00
[1] => $34.00
)
)
But, how can I change it into something like this.
Array(
[0] => Array
(
[nome] => Nature herbs
[qty] => 1
[prezzo] => $23.00
)
[1] => Array
(
[nome] => Nature Baby
[qty] => 2
[prezzo] => $34.00
)
)
Thanks!