Skip to content

Nethmina01/Attendance-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Attendance Management System (AMS)

A web-based Online Attendance Management System built using PHP (v8+), MySQL, HTML5, CSS3, and Bootstrap. This system allows administrators, teachers, and students to efficiently manage attendance, track reports, and streamline record keeping — all through a user-friendly interface.

🚀 Overview

This project is designed to simplify manual attendance processes within an educational institution. It provides role-based access for administrators, teachers, and students, ensuring accurate, real-time tracking of attendance data.

Key objectives:

Automate attendance tracking for each subject/course.

Maintain student and teacher records in a centralized system.

Generate attendance reports instantly.

Enable secure login/logout functionality for all users.

🧠 Tech Stack Layer Technology Frontend HTML5, CSS3, Bootstrap 3 Backend PHP 8.2+ Database MySQL 5.7+ Server XAMPP / WAMP / LAMP (Localhost or Web Server) 🧩 Features

✅ User Authentication & Session Management

Secure login/logout for Admin, Teacher, and Student roles.

✅ Admin Panel

Manage teacher and student data.

Monitor attendance statistics.

Generate reports.

✅ Teacher Panel

Mark attendance quickly and efficiently.

View attendance records by subject and class.

Generate attendance summaries.

✅ Student Panel

View attendance reports and statistics per subject.

Access profile and account information.

✅ Reports

View and export attendance summaries per student and course.

Displays total, present, and absent counts.

✅ UI/UX

Clean, responsive interface.

Navigation menu for easy module access.

Color-coded elements for clarity.

⚙️ Installation & Setup Guide 🔧 Requirements

XAMPP / WAMP / LAMP Server

PHP 8.0 or higher

MySQL 5.7 or higher

Modern browser (Chrome, Edge, Firefox)

🗂️ Steps to Run Locally

Clone or Download this repository:

git clone https://github.com/Nethmina01/Attendance-Management-System.git

Move project folder to your web directory:

C:\xampp\htdocs\Attendance-Management-System\

Start Apache and MySQL via XAMPP/WAMP control panel.

Create the Database:

Open http://localhost/phpmyadmin

Click on “New” → Create database named attsystem

Import SQL file:

Navigate to Import tab

Select the provided file: 📄 attsystem.sql

Click Go to import the tables.

Update Database Credentials (if needed): Open all connect.php files inside:

/admin/connect.php /teacher/connect.php /student/connect.php

Update these lines according to your local setup:

$servername = "localhost"; $username = "root"; $password = ""; // your MySQL password if set $dbname = "attsystem";

Run the Application: Open your browser and navigate to:

http://localhost/Attendance-Management-System/

🧰 Troubleshooting ❗ Common Issues

Error: Call to undefined function mysql_query() 🔹 Cause: Old MySQL extension used. 🔹 Fix: Updated to MySQLi or PDO in all scripts.

Error: Unknown database 'attendance_db' 🔹 Cause: Wrong DB name. 🔹 Fix: Ensure your DB is named attsystem and matches $dbname in your connection file.

Blank Page or White Screen 🔹 Fix: Enable error reporting in PHP:

ini_set('display_errors', 1); error_reporting(E_ALL);

CSS not loading 🔹 Fix: Verify correct relative path in HTML:

🧩 Version

Current Version: 2.1 Latest Date: july 2025

🧠 Future Enhancements

Add admin authentication system with roles.

Implement AJAX-based attendance marking.

Integrate charts for visual attendance analytics.

Allow PDF report exports.

Mobile responsive redesign.

🧑‍💼 Author

Developed & Maintained by: Nethmina Bandara 📍 Sri Lanka 💼 Software Developer | React Native & Web Development 📧 Contact: [nethminaappdevelopment1@gmail.com] 🔗 GitHub: github.com/Nethmina01

🪪 License

This project is open source under the MIT License . You’re free to use, modify, and distribute with proper attribution.

About

A web-based Attendance Management System built with PHP, MySQL, HTML, CSS, and Bootstrap. It provides secure role-based access for admins, teachers, and students to record, track, and manage attendance efficiently with real-time reports and a clean, responsive UI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors