Top "Associative-array" questions

An associative array is an abstract data type composed of a collection of unique keys mapped to a collection of values.

Interpolation (double quoted string) of Associative Arrays in PHP

When interpolating PHP's string-indexed array elements (5.3.3, Win32) the following behavior may be expected or not: $ha = array('key1' => …

php associative-array
How to use an Oracle Associative Array in a SQL query

ODP.Net exposes the ability to pass Associative Arrays as params into an Oracle stored procedure from C#. Its a …

sql oracle plsql associative-array odp.net
PHP Implode Associative Array

So I'm trying to create a function that generates a SQL query string based on a multi dimensional array. Example: …

php arrays associative-array implode
Popping the key & value from an associative array in PHP

Let S be an associative array in PHP, I need to retrieve and extract from it the first element, both …

php associative-array
php array_merge associative arrays

I'm trying to prepend an item to the beginning of an associative array. I figured the best way to do …

php associative-array array-merge
Comment associative array in PHP Documentor

I use several associative arrays in my PHP application and I'm using PHP documentor to comment my sources. I never …

php arrays associative-array phpdoc
Get value without knowing key in one-pair-associative-array

There is an associative array with only one pair key=>value. I don't know it's key, but I need …

php arrays associative-array
PHP - Merge two arrays (same-length) into one associative?

pretty straightforward question actually.. is it possible in PHP to combine two separate arrays of the same length to one …

php arrays merge associative-array
Javascript: Best way to convert associative array to string and back the other way later?

I have an associative array as follows: var AssocArray = { id:0, folder:'Next', text:'Apple' }; Now I need to store this …

javascript arrays associative-array
php insert value into array of arrays using foreach

I have a pretty basic question but I am stuck. I am pretty new to php and I have an …

php arrays loops foreach associative-array