PHP Exercises

Do the following exercises in your ruby.ils.unc.edu account.

  1. Write an html page with a form with 2 fields (name and maxnum) and a submit button labelled "Create". Make both fields be text fields. Have the form action be to call a php script called create_timestable.php. The php script should return a web page with the following:
    1. A message saying "Hi, " (with filled in from the form field)
    2. A maxnum x maxnum table that displays a multiplication table
    3. You should include a row at the top and column on the left side with the numbers 1..maxnum

      Save your PHP code into a file named youronyen_ex1.php and submit it via Sakai/Assignments/Exercise 1 before 5pm tomorrow.