Array
(
[0] => Array
(
[0] => Array
(
[itemid] => 2367
[price] => 15.99
[timestamp] => 2018-01-14 16:23:03
[qty] => 22
)
)
[1] => Array
(
[0] => Array
(
[itemid] => 2368
[price] => 15.99
[timestamp] => 2018-01-14 16:23:01
[qty] => 13
)
)
etc...
you can see that the 1-level arrays contain another useless array... how to flatten it so instead of a nested array I have this result:
Array
(
[0] => Array
(
[itemid] => 2367
[price] => 15.99
[timestamp] => 2018-01-14 16:23:03
[qty] => 22
)
[1] => Array
(
[itemid] => 2368
[price] => 15.99
[timestamp] => 2018-01-14 16:23:01
[qty] => 13
)