Getting error problem


#1


https://www.codecademy.com/courses/web-beginner-en-8a35h/0/2?curriculum_id=5124ef4c78d510dd89003eb8#

Its says that write atleast 5 names more in an array. I wrote them but then also error is coming help me!

<html>
  <head>
    <title>Woot, More Arrays!</title>
  </head>
  <body>
    <p>
      <?php
        // Add your array elements after
        // "Beans" and before the final ")"
        $array = array("Egg", "Tomato", "Beans", "Chips",   "Sausage", "Choco", "milk", "tea" );        
      ?>
    </p>
  </body>
</html>


#2

HI try to refresh the page.


#3

i already did that.But this remains the same error every time.


#4

$friends = array("a", "v", "h") ;

leave space..!!


#5

after comma ("a", "v", "h")


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.