Student Attendance Monitoring System with Barcode

Submitted by: 
Language: 
Visitors have accessed this post 12538 times.

If you are looking for Student Attendance Monitoring System with Barcode using PHP then you are at the right place. This is a full source code. It has a three side to logging on the admin side to view and manage the data and the teacher side to check the attendance of the students, Students side entering their Barcode Number given by their teachers to have their attendance and it will see a record on the teacher side.

This program works by entering the barcode number of the student, after that it will show their image and full name and it will save the data automatically in the database. And you can view your attendance on the teacher side.

Sample Codes

This code is for the function or connection in a database.

  1. <?php
  2. class Database
  3. {
  4. public $db;
  5. private static $dsn = "mysql:host=localhost;dbname=attmonsys";
  6. private static $user = "root";
  7. private static $pass = "";
  8. private static $instance;
  9.  
  10. public function __construct()
  11. {
  12. $this->db = new PDO(self::$dsn,self::$user,self::$pass);
  13. }
  14. public static function getInstance()
  15. {
  16. if(!isset(self::$instance))
  17. {
  18. $object= __CLASS__;
  19. self::$instance=new $object;
  20. }
  21. return self::$instance;
  22. }
  23. }
  24. ?>

In the image below, where you can see the record of the attendance after the student entering their Barcode Number in the system.

ResultResult

Kindly click the "Download Code" for the full source code.

Share us your thoughts and comments below. Thank you so much for dropping by and reading this tutorial post. For more updates, don’t hesitate and feel free to visit this website more often and please share this with your friends or email me at [email protected].

Enjoy Coding.


Comments

how do one asign subject to student?

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may insert videos with [video:URL]
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe> [video]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.