PHP Indexed Arrays


PHP Indexed Arrays

Indexed arrays are ordered by a numerical index. For example, the first value in the array is 0 and the second number is 1.

echo "<br/><br/>";
$my_array = array('Joe','Rogers','joe@example.com');

echo $my_array[0]." ".$my_array[1];

echo "<br/><br/>";