Question: For this problem, write an HTML document prob2.html, initially rendered as shown in the screenshot at the top of the next page. This includes a
For this problem, write an HTML document prob2.html, initially rendered as shown in the screenshot at the top of the next page. This includes a table with a caption, a one-row head, and a three-row body; the row labels are th cells. It also includes a submit button; when it is clicked, a GET request is sent to prob2.php (in the same folder). The contents of the table-body cells except for the first column are textboxes with size="8". The names in the textboxes in the second column form associative array borrowed whose keys are the same as the names in the first column, and the names in the textboxes in the third column form associative array returned whose keys again are the same as the names in the first column.
Script prob2.php reproduces the table with an additional column, labeled Out (for the number of books the person has checked out). The values in this column are the differences of the values in the previous two. The screenshot below right is the rendering of the HTML produced by prob2.php when the form in prob2.html was filled out as shown in the screenshot below left.

ipt prob2.php reproduces table with an dditional column, labeled Out (for the number of books the person has checked out) The values in this column are the differences of Books on Loan Name Borrowed Returned Al ous two. The screenshot Mary the values in th below right is e r produced by prob2.php hen t ing of the HTML the form in was filled out as shown in the Ed Submit pro reenshot below left. Books on Loan Books on Loan Name Borrowed Returned Name Borrowed Returned Out Al Al 4 Mary4 Ed 6 Mary Ed 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
