DeBug - I could not get the right output. What is wrong?


#1

I could not get the right output. What is wrong????

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

#2

your syntax is not wrong just refresh your browser and submit it again. I think this will help you.