I want to convert this multidimensional array:
array(
[0] => array (
"interest_income-bank" => "520.541"
"total_interest_expense" => "145.791"
"net_interest_income" => "434.937"
"loan_loss_provision" => "135.664"
.
.
)
[1] => array (
"interest_income-bank" => "617.894"
"total_interest_expense" => "205.508"
"net_interest_income" => "506.510"
"loan_loss_provision" => "120.586"
.
.
)
)
to an array like this:
array(
[interest_income-bank] => array (
"0" => "520.541"
"1" => "617.894"
.
.
)
[total_interest_expense] => array (
"1" => "145.791"
"2" => "205.508"
.
.
)
)
Tried a lot with no luck :(
Any help would be much appreciated!