PHP Basics In Pictures
  1. Write a script that creates a list (array) of presidents:

    James Buchanan
    George Washington
    Millard Fillmore

    ...Prints the text

    "This was the Revolution�s indispensable man:"

    ...Then prints the second name in the list.
  2. Save the script as presidents.php in the PRACTICEPHP folder on your computer.
  3. Upload it into the practicephp directory on the Web server.
  4. Add the paragraph

    "The indispensable man"

    to practice.html, and link that paragraph to presidents.php.
  5. View practice.html in the browser, then click the new link.

    Its output should look like this: