Arrays
An array is an ordered collection of values. Each value can be referenced individually using its position in the array. The first element of an array is in position 0 and the second element is in position 1. Creating arrays in PHP can be done in multiple ways, though the following example is one of the simplest.
$cities = array('Beijing', 'Oaxaca', 'Habana', 'Jakarta');
For example, to access the third element of the $cities array use $cities[2].

This article clearly describes that An array is structure of data that contains a series of related data items arranged in rows and columns for convenient access.
ReplyDeleteThis is a valuable workshop.