How reset my page? - Putting it together


#1

Apparently something went wrong, and I need to reset the page. But no matter how I tried, the error message was the same - "Something went wrong :frowning: Click Close to try again or refresh the page."

I closed it, refresh, reset code, the message still appear right at the beginning when it loads. I haven't even get a chance to finish my code for the last lines as follow -







<?php
// On the line below, create your own associative array:
$myArray= Array('food'=>'apple',
'drink'=>'juice',
'price'=>4);

  // 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:
 $length=count($myArray);
 for ($i=0;i<$length;$i++)
  ?>
</p>



#2

what is your intention with this for loop


#3

I actually haven't finish it yet the error message kept interrupting me. Not a chance to finish while keeping asked to close or refresh the page, which not possible to reload and let me go on.