Question: Make a file named divform.html which will have two text boxes to enter numerator and denominator by the user. It will have a button labeled

Make a file named divform.html which will have two text boxes to enter numerator and denominator by the user. It will have a button labeled as 'Divide'. When the button is pressed, div.php file will be executed. Make a file named div.php which will integer divide the numerator by the denominator using intdiv() and display the result. Use try..catch to detect the DivisionByZeroError If the error is detected, then show the error code, error message, file name and line number. Also display the image error.png (having width of 500 and height of 500) below the error message. Make a file named divform.html which will have two text boxes to enter numerator and denominator by the user. It will have a button labeled as 'Divide'. When the button is pressed, div.php file will be executed. Make a file named div.php which will integer divide the numerator by the denominator using intdiv() and display the result. Use try..catch to detect the DivisionByZeroError If the error is detected, then show the error code, error message, file name and line number. Also display the image error.png (having width of 500 and height of 500) below the error message
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
