I'm getting following kind of array while i loop the contents i need to convert this array format to the following format , This below one is the actual array i am getting while i loop.
Array
(
[jasmine] => Array
(
[0] => a
[1] => bb
[2] => c
[3] => d
)
)
Array
(
[rose] => Array
(
[0] => a
[1] => 4
[2] => 0.5
[3] => d
)
)
Array
(
[strawberry] => Array
(
[0] => a
[1] => 42
[2] => 0.5
[3] => f
)
)
And the Resultant array which i need is the below one how can i achieve this any helps appreciated. Thanks in advance.
Array(
[jasmine] => Array
(
[0] => a
[1] => bb
[2] => c
[3] => d
)
[rose] => Array
(
[0] => a
[1] => 4
[2] => 0.5
[3] => d
)
[strawberry] => Array
(
[0] => a
[1] => 42
[2] => 0.5
[3] => f
)
);