indexed array


How to print array values indexing in php using Indexed array

Indexed array is array with a numeric index. Index will Start with ‘0’ and it can be assigned automatically


If you know the total number of array values means you can do like this,

For unknown and unlimited array values are present then go to Forloop


To know the array total values use count(); Functions

 2. Count();

This Function is used to fin the count of array key in the array.

3. Associative array()

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


For more Explanation click here