Hello, I have a php pdo script that gives me an format posted below. I know the order of the keys, but I am trying to get get in a list that I can analyze with item 1, item 2 and so on. Would nice to have a function. The Array may expand with keys, but I will know the key order still.
In the below example, with two keys, my goal would to be have a result of : John,Manager
Code: Select all
Array
(
[0] => Array
(
[Name] => John
)
[1] => Array
(
[Position] => Manager
)
)
I appreciate any help in this matter. Happy Holidays as well.