Blood Bank Management System using PHP/MySQLi with Source Code


Project: Blood Bank Management System using PHP/MySQLi with Source Code


The Blood Bank Management System is a simple PHP/MySQLi project that manages blood inventory in a certain blood bank. The system only allows the blood bank's management to access the data because the system focuses only on the data management or the inventory of the blood availability in a certain blood bank. This system stores the list of donors, blood donations, requests and hands over requested blood. The blood donations list in this system will serve as the receiving or the process where we can update the volume availability of blood in each blood group. The requested feature in this system will serve as the record of requested blood for a certain patient, which is requesting for specific blood with a specific volume data will be submitted ord inputted in this process. The handed over list are the records of handed over blood requests, which means this process updates the available volume of each blood group.


  • Login Page
    • The page where the system users will submit their system credentials to access the system data.
  • Home Page
    • The page where the system users will be redirected after logging into the blood bank management system. This page displays the available volume of each blood group and also displays the system data summary.
  • Donors Page
    • The page where all donors are listed and managed.
  • Blood Donations Page
    • The page where the donated blood is listed and managed. The system feature that updating the available volume of the blood stocks.
  • Requests Page
    • The page where all blood requests are listed and managed.
  • Handed Over Page
    • The page where all given blood or handed over blood requests are listed and managed.
  • Users Page
    • The page where can system admin user manages the list the system users.

How to Run

  1. Download the source code and extract the zip file.
  2. Download or set up any local web server that runs PHP script.
  3. Open the web-server database and create a new database name it bloodbank_db.
  4. Import the SQL file located in the database folder of the source code.
  5. Copy and paste the source code to the location where your local web server accessing your local projects. Example for XAMPP('C:\xampp\htdocs')
  6. Open a web browser and browse the project. E.g [http://localhost/bloodbank

Admin Default Access

Username: admin

Password: admin123

I hope this simple Blood Bank Management System project will help you with what you are looking for. Feel free to download the source code. Take note that this simple project is more likely a database management system or inventory management system.

Explore more on this website for more source codes and tutorials.


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 for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


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.


Submitted byMD. ASIR UDDIN (not verified)on Sat, 10/24/2020 - 17:12

Blood Bank Database name : car_rental_db?

I'm sorry, I just copied the how to run instruction of my previous article, and I forgot to change the database information and the sample link for the browsing system, but the source code is right and the SQL file is right. Thank you. 

Submitted byen Abdulaahi A… (not verified)on Sun, 05/26/2024 - 01:33

In reply to by MD. ASIR UDDIN (not verified)

lives in Galmudug somalia solve me this problem Warning: mysqli::__construct(): (HY000/1049): Unknown database 'bloodbank_db' in C:\xampp\htdocs\bloodbank\db_connect.php on line 3 Fatal error: Uncaught Error: mysqli object is already closed in C:\xampp\htdocs\bloodbank\login.php:8 Stack trace: #0 C:\xampp\htdocs\bloodbank\login.php(8): mysqli->query('SELECT * FROM s...') #1 {main} thrown in C:\xampp\htdocs\bloodbank\login.php on line 8
Submitted byStuart (not verified)on Thu, 01/21/2021 - 21:29

Can't Create more users ....It says "Username already exist"...pllz help
Submitted byyusf jamal (not verified)on Fri, 03/17/2023 - 15:35

hello sir i have some error from this project when run the project dont show me user page from left side

Add new comment