Consider the following array (PDO query result in PHP)
Array
(
[0] => Array
(
[results] => Array
(
[0] => Array
(
[ID] => asdfsdf_1231231_sadfdas
[info] => asfdsf
[time] => 2019-08-05 22:37:28
[name] => JohnDoe
)
[1] => Array
(
[ID] => asddfsadf_asdfadsf
[info] => 9283741974
[time] => 2019-08-05 22:37:28
[name] => DoeJohn
)
)
)
)
What I would like is something like an array of ID, Info, time and name.
I realise I could always do a for each and loop through the results array
But is there a more efficient and quicker way to do this in PHP?
Thanks