Quotes help make search much faster. Example: "Practice Makes Perfect"

Saturday, April 20, 2013

Codecademy Sample Solution: Modifying Array Elements



<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!
        $languages[2] = "C++";
        echo $languages[2];
      ?>
    </p>
  </body>
</html>

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts