Write a JavaScript program for the below output Form-1.html(shown in the first picture). When the user clicks the Submit button, the page should display a message box and after clicking the OK button of the message box, the form should be submitted to a PHP page. Write a PHP program that should save the data from the Form-1.html in Database. There should be least 04 records. Write a PHP program that should display all the records from the database. The data must be displayed in the table, shown in the second picture) format.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Write a JavaScript program for the below output Form-1.html(shown in the first picture). When the user clicks the Submit button, the page should display a message box and after clicking the OK button of the message box, the form should be submitted to a PHP page.

Write a PHP program that should save the data from the Form-1.html in Database. There should be least 04 records.

Write a PHP program that should display all the records from the database. The data must be displayed in the table, shown in the second picture) format.

Record No
Name
Gender
Skills
Contact No
Department
1
003023456
Qaisar
Aiza
Male
Java
CS
2
Female
C+
012345678
Math
3
Gul
Female
Python
876543211
Comm
4
Farooq
Male
Python
657890068
CS
Transcribed Image Text:Record No Name Gender Skills Contact No Department 1 003023456 Qaisar Aiza Male Java CS 2 Female C+ 012345678 Math 3 Gul Female Python 876543211 Comm 4 Farooq Male Python 657890068 CS
Record Form
Name:
Password:
Contact No
Gender
Male O Female
Programming Skills: O C++ O Python O Java
Select Department v
Department
Submit
Clear
This page says
Are you sure you want to submit?
OK
Cancel
Figure: Form-1html
Transcribed Image Text:Record Form Name: Password: Contact No Gender Male O Female Programming Skills: O C++ O Python O Java Select Department v Department Submit Clear This page says Are you sure you want to submit? OK Cancel Figure: Form-1html
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY