Please do this exactly how this photo describes it. Thanks. The first screenshot
ID: 3688275 • Letter: P
Question
Please do this exactly how this photo describes it. Thanks.
The first screenshot at right is the initial rendering of probl.html. The textbox for the first number has name="numl", and that for the second number has name="num2". All the radio buttons have name="op". The values of the radio buttons are, respectively, "add", "sub", "mul", and "div". A radio button can be selected not only by clicking directly on it but also by clicking its label. Note that the radio buttons are all inside a fieldset with a legend. It is expected that the user will enter numbers into the two textboxes then click Submit, which sends a GET request to probl.php. The second screenshot shows the form with numbers 2 and 3 entered. The third screenshot shows the rendering of the HTML returned by the server when this form is submitted. We provide two digits after the decimal place since floating-point values may be entered, and, in any case, division may result in non-integer values even with integer operands. The fourth screenshot down shows the result when the Divide radio button is clicked and the form (with the same numbers) is submitted. To get a string representation of a number $x with two digits after the decimal point, use number_format($x, 2). Write and submit both probl.html and probl.php.Explanation / Answer
PHP SCRIPT: