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.
I have searched on here for a quality method to compare associative arrays in javascript. The only decent solution I …
javascript arrays comparison associativeI have this code: $dbInstance = DB_Instance::getDBO(); $statement = $dbInstance->prepare("SELECT id, name FROM language ORDER BY id"); $…
arrays pdo associativeI have an associative array in awk that gets populated like this: chr_count[$3]++ When I try to print my …
sorting arrays awk associativeI want to access the index 'memo' in the associative array in PHP below $variables["thelistitems"]; print_r($variables["thelistitems"]); …
php arrays associativeMy array: $data = array('two' => 2, 'one' => 1, 'three' => 3); Now, with when I iterate the array, the first value …
php arrays associativeI would like to print out the data, for debugging purpose. Data format would be like this cntryCode = resArray("COUNTRYCODE") …
arrays asp-classic debugging associativeHow do you pass an associative array as an argument to a function? Is this possible in Bash? The code …
arrays bash associative-array associativeI am trying instantiate an associative array and then in a second call, assign it various other value sets on …
php arrays associativeI'm struggling to explain what I want to do here so apologies if I confuse you.. I'm just as confused …
php arrays associative-array associativeok, so I have an object like: var myobject = { "field_1": "lorem ipsum", "field_2": 1, "field_2": 2, "field_2": 6 }; as you see there are …
javascript object duplicates javascript-objects associative