Tag

Associative arrays

Browsing

Associative array is array that use named keys that you assign to them.

example

named key ‘raj’ has vlaue ‘123’;

IF the named key is unknown and unlimited the use foreach

output

Similar like Associative array

Multidimensional Array concept in Php

A multidimensional array is an array containing one or more arrays.

Its is solution for to know how to handle a array with in array
Example
1.Two-dimensional array
2.Three-dimensional array

Here You can see Exaplaination