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.
In reply to Re: Multidimensional Array Iteration?
by marinersk
in thread Multidimensional Array Iteration?
by jdlev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |