I need to use PHP to get from this Array to the next Array,
[results] => Array
(
[row] => Array
(
[0] => Array
(
[col0] => "banana"
[col1] => "grape"
[col2] => "apple"
)
[1] => Array
(
[col0] => "ford"
[col1] => "chevy"
[col2] => "chrysler"
)
)
)
[results] => Array
(
[row] => Array
(
[banana] => Array
(
[col0] => "banana"
[col1] => "grape"
[col2] => "apple"
)
[ford] => Array
(
[col0] => "ford"
[col1] => "chevy"
[col2] => "chrysler"
)
)
)
Please keep in mind that the array row
has no set size or length.
Any help would be appreciated!
Thank you so much!