STUDENT ATTENDANCE TRACKER SYSTEM (Using PHP and MySQL)
STUDENT ATTENDANCE TRACKER SYSTEM (Using PHP and MySQL)
1. Introduction
• Project Title: Student Attendance Tracker System
• Technology Stack: PHP, MySQL, HTML, CSS, JavaScript
• Description:
The Student Attendance Tracker System is a web-based application
developed to simplify the process of managing student attendance records. It
provides educational institutions with a digital solution for recording,
tracking, and analyzing student attendance. The system allows teachers to
mark attendance, generate reports, and view statistics, making the attendance
management process efficient and error-free.
2. Objectives
• To automate the attendance management process for schools and
colleges.
• To provide real-time tracking and reporting of student attendance.
• To generate attendance reports for quick analysis.
• To enhance data security and accessibility for attendance records.
3. System Features
• User Authentication: Secure login for admins and teachers.
• Student Management: Add, edit, or delete student records.
• Attendance Tracking: Mark attendance status (Present/Absent) for students.
• Reports & Analysis: Generate reports (daily, weekly, monthly) and export to
PDF.
• Dashboard Overview: Provides summary statistics of attendance data.
4. Technology Stack
• Frontend: HTML, CSS, JavaScript
• Backend: PHP
• Database: MySQL
• Libraries/Tools: TCPDF (for PDF report generation)
5. System Architecture
The system follows a three-tier architecture:
• Presentation Layer: The user interface for interacting with the system.
• Business Logic Layer: Handles the application logic for attendance
management.
• Data Access Layer: Manages database interactions using MySQL.
6. Database Design
The database consists of the following tables:
1. Users Table
Column Name, Data Type, Description
id, INT (Primary Key), Unique user ID
username, VARCHAR(50), Username for login
password, VARCHAR(100), Encrypted password
role, ENUM, User role (admin/teacher)
created_at, TIMESTAMP, Timestamp of user creation
2. Students Table
Column Name, Data Type, Description
id, INT (Primary Key), Unique student ID
student_id, VARCHAR(10), Student's unique ID
name, VARCHAR(100), Full name of the student
email, VARCHAR(100), Email address
course, VARCHAR(50), Course enrolled
created_at, TIMESTAMP, Timestamp of record creation
3. Attendance Table
Column Name, Data Type, Description
id, INT (Primary Key), Unique attendance record ID
student_id, VARCHAR(10), Student ID (foreign key)
attendance_date, DATE, Date of attendance
status, ENUM, Attendance status (Present/Absent)
created_at, TIMESTAMP, Timestamp of attendance entry
7. Implementation
• a. User Authentication (login.php)
• The login page allows only registered users (admins or teachers) to access
the system.
• b. Student Management (add_student.php)
• Admins can add new students, update existing details, or delete student
records.
• c. Attendance Tracking (mark_attendance.php)
• Teachers can mark attendance by selecting the student and choosing their
attendance status (Present/Absent).
• d. Report Generation (attendance_report.php)
• Admins and teachers can generate attendance reports based on specified
dates and export them to PDF.
8. Screenshots
1. Login Page
Screenshot of the user login interface with fields for username and password.
2. Dashboard
Screenshot of the main dashboard showing student statistics, attendance summary,
and quick access buttons.
3. Add Student Form
Screenshot of the form used to add or update student records.
4. Attendance Marking
Screenshot of the interface for marking student attendance.
5. Attendance Report
Screenshot of the attendance report section with options to filter records and export
to PDF.
11. References
PHP Documentation
MySQL Documentation
TCPDF Library