1 2 3 4 5 6 7
<?php $array = array('eggs', 'bacon', 'football', 'baseball', 'ford', 'toyota'); $i = 2; echo "<p>{$array[$i]}</p>";
1
<p>football</p>