This repository contains the implementation of AJAX (Asynchronous JavaScript and XML) for editing student details in a web application. The application allows users to edit various details of a student's profile, such as their full name, phone number, date of birth, mother tongue, etc., using AJAX to submit form data asynchronously without reloading the page.
- Allows users to edit student details without page reload using AJAX.
- Validates form inputs on the client-side before submitting data to the server.
- Displays success or error messages based on the server's response.
To run this application locally, you need the following:
- Web server (e.g., Apache, Nginx)
- PHP installed on the server
- MySQL or any other relational database management system
-
Clone this repository to your local machine:
git clone https://github.com/aash-gates/Student_database-_Hosting-Raja-AJAX.git
-
Configure your web server to serve the application from the cloned directory (
ajax-student-details
). -
Import the database schema provided in the
database
directory into your MySQL database. -
Update the database connection settings in the
db_connect.php
file to match your MySQL credentials.
-
Access the application through your web browser.
-
Log in with your credentials or sign up if you don't have an account.
-
Navigate to the student details page where you can edit student information.
-
Make changes to the student details and click the "Save" button.
-
The changes will be submitted asynchronously using AJAX, and you will receive a success or error message based on the server's response.
ajax-student-details/
│
├── css/
│ └── styles.css
│
├── database/
│ └── schema.sql
│
├── js/
│ └── jquery.min.js
│
├── process_edit_student.php
│
├── README.md
│
├── db_connect.php
│
├── index.php
│
├── student_details.php
│
└── dashboard.php
This project is licensed under the MIT License.