Oops, try again. It looks like 'tatsyfood' is part of $myArray, but it wasn't printed to the page!


#1







<?php
// On the line below, create your own associative array:
$myArray=array('KFC','subway','tats y food');

  // On the line below, output one of the values to the page:
    echo $myArray[2];
      
  // On the line below, loop through the array and output
  // *all* of the values to the page:
  $sap=count($myArray);
 foreach($myArray as $sapp) {
    echo "<p>$sapp</p>";
 }
  ?>
</p>



#2

i got the output ...friends just use only one string in your array