PHP Array Element
To output a array element in PHP, you should access it by its index, see the example:
<?php
$arr = ['a', 'b', 'c'];
echo $arr[0]; // will output 'a'
echo $arr[1]; // will output 'b'
echo $arr[2]; // will output 'c'
?>
To output a array element in PHP, you should access it by its index, see the example:
<?php
$arr = ['a', 'b', 'c'];
echo $arr[0]; // will output 'a'
echo $arr[1]; // will output 'b'
echo $arr[2]; // will output 'c'
?>