Hostel Management System (PHP & MySQL)
- A lightweight and simple Hostel Management System built using PHP 8.2.12 & MySQL.
This project allows admins to manage students and rooms efficiently through a clean and responsive dashboard.
Key Features
- – Secure Admin Login (session-based authentication)
– Manage Students:
– Add new students
– Edit existing students
– Delete students
– Fields: Name, Roll No, Phone, Address, Room
– Manage Rooms:
– Add new rooms
– Delete rooms (only if not linked to students)
– Fields: Room Number
– Student 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