I need to amend the following array:
Array
(
[category_id] => Array
(
[0] => 21
[1] => 22
)
[amount] => Array
(
[0] => 10000
[1] => 2000
)
)
I need to get the output to look like this:
Array
(
[0] => Array
(
[category_id] => 21
[amount] => 10000
)
[1] => Array
(
[category_id] => 22
[amount] => 2000
)
)
Does anyone know how to achieve this?