Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students also viewed these Databases questions

Question

1. Who will you assemble on the team?

Answered: 1 week ago