PHP Basics In Pictures

Practice: Working with Numbers

  1. Write a script that multiplies 347 * 221.
  2. Save the script as multiply.php in the PRACTICEPHP folder on your computer.
  3. Upload it into the practicephp directory on the Web server.
  4. Add the paragraph

    What�s 347 times 221?

    to practice.html, and link that paragraph to multiply.php.
  5. Upload practice.html to the home directory in your Web site.
  6. View practice.html in the browser, then click the new link.

    Its output should look like this: