This tag is used mostly regarding associative arrays (but better use tag "associative-array" for that) and sometimes in the mathematic sense of tag "associativity", the associative property of binary operations.
Suppose I have this code: var myArray = new Object(); myArray["firstname"] = "Bob"; myArray["lastname"] = "Smith"; myArray["age"] = 25; Now if I …
javascript arrays associative-array associativeI have the associative array: array["sub2"] = 1; array["sub0"] = -1; array["sub1"] = 0; array["sub3"] = 1; array["sub4"] = 0; What is the most …
javascript arrays sorting associativeI've seen numerous examples on how to take a CSV file and then create an associative array with the headers …
php arrays csv associativeCan an array in JavaScript be associative AND indexed? I'd like to be able to lookup an item in the …
javascript arrays indexing associativeI cannot find any examples, in books or on the web, describing how one would properly initialize an associative array …
php arrays initialization associativeI want to create an associative array in php with dynamic key and also a dynamic value from a particular …
php arrays associativeWhat is the fastest way to convert a simple array to an associative array in PHP so that values can …
php arrays dictionary associativeI need to get just the first item (actually, just the first key) off a rather large associative array in …
javascript jquery arrays associativeHi out there in Stackland. I was wondering if there was either a function or an easy way to change …
php zend-framework associative-array associativeI have a simple simulated array with two elements: bowl["fruit"] = "apple"; bowl["nuts"] = "brazilian"; I can access the value …
javascript arrays associative