Array error even the code is right


#1


my output is correct but it still give me wrong ,iam sure from my code please help


Oops, try again. Did you remember to use $languages[] or $languages{} in your code?

Replace this line with your code. 
<html>
  <head>
    <title>Modifying Elements</title>
  </head>
  <body>
    <p>
      <?php
        $languages = array("HTML/CSS",
        "JavaScript", "PHP", "Python", "Ruby");
         $languages[1]="c++";
        echo $languages[1];
        // Write the code to modify
        // the $languages array!
       
        
      ?>
    </p>
  </body>
</html>


#2

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