Student Attendance Management System in PHP MySQL with Source Code

A fully functional project based on Student Attendance Management System that uses PHP Language with MySQL database. Following PHP project contains all the essential features which can be in use for the second year IT students for their college projects. It has a number of features that will allow users to manage students’ attendance as well as their respective attendance reports. This system as well as the web application’s concept is all clear, it’s the same as real-life scenarios and well-implemented on it. To download free attendance management system project in PHP MySQL with source code files, please scroll down to the bottom of this post for the Download button.

About Student Attendance Management System PHP MySQL Project

Moving on, this student attendance management project in PHP focuses mainly on the management of students’ daily attendance. Also, the system displays all the lists of students according to their classes. In addition, the system allows managing teacher, class, and student information too. This project is divided into two categories: Admin, and Teacher. In an overview of this web application, a teacher can simply view his/her student’s details. With it, the teacher has an access to maintain all the attendance within the system. Each class contains a class teacher, so a teacher has to handle the daily attendance of that particular class of students. Also, the teacher can view attendance reports such as overall attendance, selective students under certain dates. Besides, the user can download the attendance report in excel format.

Admin Panel

On the other hand, an admin has full control over the system. An admin has the right to manage the proper flow of the system. He/she can manage classes and their sections by providing the required details. In terms of sections, the user has to select one of the available classes and connect it with a new section. As every class has its own class teacher, the system requires the user to set a class teacher for it. The registration of the teacher requires details such as name, contact info, and select a class with section. With this, a teacher will be assigned to a class. By default, the system automatically sets up a default password for each teacher’s record. The user can use this information for logging into the system as the role of a class teacher.

Student and Session Management

Every class will contain its own number of students. For this, the admin has to manage students’ details with the selection of class and section. A student’s details consist of information such as name, admission number, class, and section. This way each and every section is interconnected with one another and fully depends on the flow of the system. Besides, the administrator can manage sessions and terms by providing details such as the name of the session by selecting a term. Here, the terms are first, second, and third term. And finally, the user has to activate the session in order to make it in use. An administrator can have an overview of the records to view total attendance to date, total students, classes, teachers, etcetera.

Last but not least, a clean and simple dashboard is presented with simple color combinations for a greater user experience while using this Online Student Attendance System Project in PHP MySQL. For its UI elements, a free open-source CSS framework; Bootstrap is on board with Vanilla CSS too. Presenting a new Student Attendance Management System Project in PHP MySQL which includes an admin panel with a teacher’s panel that contains all the essential features to follow up, and a knowledgeable resource for learning purposes.

Available Features:
  • Teacher’s Panel
  • Admin Panel
  • Manage Class, Sections
  • Assign Class Teacher
  • Student Management
  • Attendance Management
  • Manage Session and Terms
  • View Attendance Report
  • Download Attendance Report
Project Name:Student Attendance Tracking System
Language/s Used:PHP
PHP version (Recommended):5.6, 7.4
Database:MySQL
Type:Web Application
Developer:Sodiq Ahmed
Updates:0
Online Student Attendance Management System PHP Project Overview

Instructions: How to Run?

  • After you finish downloading the project, unzip the project file and head over to your XAMPP directory.
  • There you’ll find a folder naming “htdocs”.
  • Inside the “htdocs” folder, paste the project folder (not the .zip one, but the extracted one).
  • Open your favorite browser; we recommend using Google Chrome or Mozilla Firefox.
  • Then, go to URL “http://localhost/phpmyadmin“.
  • Create a Database with a name that is provided inside the “01 LOGIN DETAILS & PROJECT INFO.txt”.
  • Click on the “Import” tab and choose the database file (.sql) which is provided under the folder naming “DATABASE FILE”.
  • After setting up all these, go to URL “http://localhost/[ PROJECT_FOLDER_NAME ]/“
  • All the login details are provided inside the project folder, check that out and enter in order to use it.

And there you have it, a full setup of the Student Attendance Management System Project in PHP MySQL. For this particular PHP project, PHP Version 5.6 or Newer is required because the project might not operate well with the oldest PHP version. So, users with the oldest PHP version (less than 5.6) might face various problems while operating it. As a result, you’ll need to upgrade your PHP version (only if you’re using the oldest version) at the moment. Download Free Student Attendance System Project in PHP MySQL Source Code. So, this Attendance Management System PHP project is a fully functional project for all the beginners as well as intermediate levels that broads vast knowledge into such PHP web applications. In conclusion, this whole PHP project with free source code is an absolute project and a meaningful way for the users to learn and explore more about it.

Free Download Student Attendance Management System Project in PHP MySQL with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose

79 comments

  1. Object not found!
    The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

    If you think this is a server error, please contact the webmaster.
    it’s showing like this….

      1. Finally i can…THANK U…
        I need detail of the software that used to build this system….do u all use javascript or bootstrap to design the interface?
        Do u have this project report…i need it for educational purpose….pls email me
        THANK U IN ADVANCE

  2. The attendance system is not working…After we take the attendance, we can’t view the attendance and can’t print the record too….!!!! It is jst showing no record found..

  3. Thanks for the good job!
    Can this project be integrated with Biometric Device for like clocking?
    Is it achievable with this project?

  4. Good system. But I wonder why such big sized files are inlcuded in vendor folder and what is the main purpose of the folder

    1. Because it contains one of the important files for the system. It includes files supporting bootstrap, data tables, font awesome, and more. We could’ve just removed it (due to the large file size: just like you’ve said), but the users won’t be able to see/operate any throughout the system.

  5. it’s very helpful for me thanks 😋😋😋😋😋😋😋😋😋😋😋😋😋😋😋😋😋😋😋

  6. Hello,
    I need to ask is in create students why new student is assigned as no.1 but not the pervious student its like first in student assigned as last one.
    how could I change that?

      1. sorry for the pervious question the issue is solved.
        I need to ask is How can I make forget password page for class teacher login?

  7. It says no records found when I try to view attendance but the records are present in PHPMyAdmin , my database. kindly resolve my issue .

      1. C:\Users\tanma>php -v
        PHP 7.3.29 (cli) (built: Jun 29 2021 12:30:04) ( ZTS MSVC15 (Visual C++ 2017) x64 )
        Copyright (c) 1997-2018 The PHP Group
        Zend Engine v3.3.29, Copyright (c) 1998-2018 Zend Technologies

        PLEASE HELP ME

    1. Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /storage/emulated/0/htdocs/attendance-php/index.php:81 Stack trace: #0 {main} thrown in /storage/emulated/0/htdocs/attendance-php/index.php on line 81

      hello sir, can you please help
      why i can’t login the admin/class teacher p?

  8. Fatal error: Uncaught mysqli_sql_exception: Table ‘attendancemsystem.tblclassteacher’ doesn’t exist in C:\xampp\htdocs\attendance-php………………… on line 106
    im getting this message at time of login

  9. Hello— I have tried to change the values in the database and when I import I get this error(—- Dumping data for table `tblattendance`–INSERT INTO `tblattendance` (`Id`, `admissionNo……………`) VALUES;)how can i resolve this?

  10. great work you have here. I tried adding some extra inputs to the createClass.php codes but i cant seem to get it to work i can send you screenshots for better understanding

  11. “http://localhost/[ PROJECT_FOLDER_NAME ]/“
    which folder name should I put? I have tried all and none works.

  12. Class Teacher Dashboard (
    Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\attendance-php\ClassTeacher\index.php on line 49

    Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\attendance-php\ClassTeacher\index.php on line 49
    – )
    I got this error again and again when add new students and new class teacher in admin section, when i login in class teacher section i got this error again and again.

  13. Hi, firstly thank you sir for this lovely program.

    I set up correctly but it doesn’t log me in on both, tried the passwords from the txt file and even copying from the SQL table, it just flashes back to the index page. (if I type wrong password then it does say incorrect password so I guess it is talking to the DB)

    Folder does have all the permissions enabled also.
    Please help

  14. Hi, If I create a Course (class) called IT… and it has 4 Subjects (arms) TP, IT, SS, VB.
    I allocate teachers to the 4 subjects fine…

    But how can I modify it so when I create a student for IT, they will automatically be in the above 4 subjects classes. As at the moment a student can only be in one selected arm class.

  15. CodeAstro CodeAstroHome For All Free Source Codes:
    congratulation for good coding styling with minimal error codes, all in all you are better off than other PHP coders, am giving you my big up…!!!!!!!

  16. Hello, I’m currently having a problem with the system. I created a class, then it’s class arm. Then I created a class teacher and students for that class. Next, I logged in the newly created teacher, so far everything is working until I took a new attendance. It says “Click on the checkboxes besides each student to take attendance”, so I clicked the checkboxes and clicked ‘take attendance’, but when I went to the view attendance section, the status displays absent to all the students. I really need your help on this. Please reply.

  17. Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:………….

    Warning: mysql_connect(): Access denied for user ‘root’@’localhost’ (using password: NO) in C:\xampp\htdocs\S_AttendanceMS\connect.php on line 3
    Cannot connect to server

  18. i ran through all the steps, but after the last step! the front end of the student app isn’t appreaing but rather webpage which says
    Index of /attendance-php
    [ICO] Name Last modified Size Description
    [PARENTDIR] Parent Directory –
    [DIR] attendance-php/ 2021-10-07 14:20 –
    Apache/2.4.56 (Win64) OpenSSL/1.1.1t PHP/8.2.4 Server at localhost Port 80
    APPEARS

    Have i gone worng somewhere ?? where do i access the front end part of the website

  19. May I get the presentation of your project?
    “Student Attendance management system”
    its urgent and it will help me a lot.So, can you please share it to me?

  20. HIE. i want to remove the tblclassarm and anything that is related to it . instead of class arm i only want to use class. how do i go about

  21. how we can fix
    <Not Found
    The requested URL was not found on this server.

    Apache/2.4.56 (Win64) OpenSSL/1.1.1t PHP/8.2.4 Server at localhost Port 80
    please reply me as soon as possible

Leave a Reply

Your email address will not be published. Required fields are marked *