This code works


#1

<?php
// On the line below, create your own associative array:
$myArray = array('Beer', 'IceCream', 'Fries', 'Burgers');

// On the line below, output one of the values to the page:
echo $myArray[0];
echo "

";
// On the line below, loop through the array and output
// all of the values to the page:
$count = count($myArray);
for($i = 0; $i < $count; $i++) {
echo $myArray[$i] . '
';
}
?>