in reply to Multidimensional Array Iteration?
Each element in the array is a row from the database.
Each element in the hash is the column -- and the hash allows you to access it by name.
So the answer to your question on how to access it by index and column name -- is to do so. It's already in that format if you run the query that way.
|
|---|