Printable Staff ID Card Creator System using PHP/MySQLi with Source Code

Language

Greetings from Malawi the warm heart of Africa.

Here is a mini-project where an administrator of a company or organization can use to register new staff and create their id card and print the ID card. The information of the ID card can be modified using the system front-end and some would require to be managed programmatically. This system was developed using PHP/MySQLi (OOP), HTML, MySQL Database, CSS, and Bootstrap for the design. This system can help a certain company or organization to ease and reduce time consumed on creating their staffs' ID Card.

Features/Functions:

  • Add the organization logo to be displayed on the cards
  • Add staff details using a form
  • Add multiple staff details at once using CSV file format
  • Edit staff details
  • Print id one by one
  • Print multiple ids at one
  • Delete staff

The ID Cards have a barcode generated from the staff ID number of the employee hence they can be used for Time Log System using a barcode scanner.

How to Run

Requirements

  • Download and Install any local web server such as XAMPP/WAMP.
  • Download and Extract the source code zip file. (download button is located below)

Installation

  1. Open the XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. If you are using XAMPP, copy the extracted folder of source code and paste it into the XAMPP's "htdocs" directory. And if you are using WAMP, paste the folder inside the "www" directory.
  3. Open a web browser and browse the system. [http://localhost/staff_registration]

Note: The web application will automatically create its own database just make sure the name "staff_db" does not exist yet or you can change the also the DB name programmatically, the file for configuration is known as "db_connect.php".

Login Access

Username: [email protected]
Password: admin

That's it, you can now explore the system's features and functionalities. I hope this will help you with what you are looking for and for your future PHP Projects.

Happy Coding!!

If you have any question regarding this project or anything find me onwww.patrickmvuma.com and if you have a website that you own and you would love to know how many people visit your website per day use my web application on this address https://websitelistener.com

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted byWilfred Bett (not verified)on Wed, 11/14/2018 - 16:24

Nice one its works like a charm
Submitted byMalik Amjad (not verified)on Sat, 04/04/2020 - 22:35

Error1, query failed. When you try to insert employee
Submitted bykapitan (not verified)on Fri, 03/18/2022 - 13:42

In reply to by Malik Amjad (not verified)

I am getting "Error1, query failed" when inserting new employee
Submitted bykapitan (not verified)on Fri, 03/18/2022 - 13:51

what php version does this use?
Submitted bydir (not verified)on Sat, 05/21/2022 - 16:30

can you give me the database file please [email protected]

Add new comment