Question: PLEASE SEE ALL STEPS Create an html form that asks the user to enter a number between 1 - 20 and then accepts a number.

PLEASE SEE ALL STEPS

  1. Create an html form that asks the user to enter a number between 1 - 20 and then accepts a number.
  2. Create a php document that
    • displays the current date and time.
    • checks the input by using is_numeric() function if it is not a number then it displays the appropriate message and exits the program.
    • if the user did not enter a number 1 - 20 then give the appropriate message and then exit the program.
    • if the user has entered a number between 1 - 20 then display the multiples of the number using a for...loopstatement. Example: if the user enter 12, the php page will display something like this: Make sure that the output is displayed in a table.
      12 * 1 = 12
      12 * 2 = 24
      12 * 3 = 36
      12 * 4 = 48
      12 * 5 = 60
      12 * 6 = 72
      12 * 7 = 84
      12 * 8 = 96
      12 * 9 = 108
      12 * 10 = 120

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!