What is Array? how to use php array?
An array is a variable, which can hold more than one value at a time.
php array basic function defined as
array();
example
< ?php $design = array('photoshop','flash','dreamviewer','html5'); echo $design[0]; //output is photoshop echo $design[1]; //output is flash ?>
Three Types of Php array
1. Indexed array
2. Assocaiative array
3. Mutlidimentional array