Implement a Student Management Web Page
You are required to build a simple web page for managing students. The application should
allow adding, displaying, editing, and deleting student records.
Requirements
1. Database
Create a database table Students with the following fields:
● StudentID (Primary Key, INT, Auto Increment)
● Name (VARCHAR(100))
● Department (VARCHAR(50))
2. User Interface
● Create a form with the following input fields:
○ Student Name (Text)
○ Department (Dropdown or Text)
○ Add button
● Display the student records in a table below the form. Each row should have:
○ Student ID
○ Student Name
○ Department
○ Edit button
○ Delete button
3. Frontend Functionalities
● When the user clicks Add, the data should be validated (no empty fields).
● After adding, the student should appear immediately in the table
● Clicking Edit should allow updating the student’s information.
● Clicking Delete should remove the student from the table.
4. Backend Functionalities
Implement backend functionalities for the following:
● Add a new student in the database.
● Retrieve all students from the database.
● Update a student’s details in the database.
● Delete a student from the database.