Question: 2. Sessions Create a php file which has an HTML form composed of two text fields and a submit button The text fields must contain

 2. Sessions Create a php file which has an HTML form

2. Sessions Create a php file which has an HTML form composed of two text fields and a submit button The text fields must contain only numbers; when submit is pressed, store these numbers into two session variables (x and y) Create a php file which takes the two session variables (if they are set) and displays addition, subtraction, multiplication, division and modulo of these numbers. Be sure to handle any exception in dividing by 0 After pressing submit and creating the session variables, you can redirect the page to the other php using: header("Location: fileName.php")

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!