Quote:
Originally Posted by GrBear
My problem now seems to be that I can't pull up the array values by the numerical key, only the textual key. I though arrays can have both the numerical AND textual key values.
|
you can only pull the numerical key values if they array is generated via a query to the best of my knowledge, according to your above code you're setting the array manually.
Quote:
Originally Posted by GrBear
The reason I didn't go with sabret00the's original suggestion was because then I'd have to change the code if I decided to add another option for the field (a new color).
|
you could actually acheive that on the fly, but i was just looking for the simplest answers.