Is it possible to refer to an associative array key by the position it was added to the array?
For example, let's say that I have a dynamic result set. I don't know the column names (e.g. associative array key names), but would like to reference the first column or second column numerically.
Is there a built-in function to do this (couldn't find one), or do I need to loop through the keys and assign them to a numerically indexed array.
Let me know if that question makes sense. I always struggle with arrays.