Hospital Management System (PHP & MySQL)
- A lightweight and simple Hospital Management System built using PHP 8.2.12 & MySQL.
This project allows admins to manage patients and doctors efficiently through a clean and responsive dashboard.
Key Features
- – Secure Admin Login (session-based authentication)
– Manage Patients:
– Add new patients
– Edit existing patients
– Delete patients
– Fields: Name, Age, Gender, Phone, Address, Doctor
– Manage Doctors:
– Add new doctors
– Delete doctors (only if not linked to patients)
– Fields: Name
– Patient listing with pagination
– Simple alert messages for feedback
Technology Stack
- PHP 8.2.12 (Core PHP, no frameworks)
- MySQL
- HTML5 / CSS3
- JavaScript
Installation
- Upload files to server (htdocs for XAMPP).
- Create a MySQL database.
- Import
database.sql
file. - Update DB credentials in
config.php
. - Access via
http://localhost
Default Admin Login
Username: admin
Password: admin123