<title>Modifying Elements</title>
        $languages = array("HTML/CSS",
        "JavaScript", "PHP", "Python", "Ruby");
         echo $languages[0],

      $languages[0] = "SQL";
      echo $languages[0];

why is it not outputting correctly?
This is what is being outputted: HTML/CSSSQL


Hi just remove this line

echo $languages[0],

because the lesson want that you only print the new item you added.


IT WORKED!!! Thanks so much...:grinning:


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