This is a web-based Blood Bank Management System built using PHP and MySQL. It allows users to manage blood donor records, search for available blood types, and view donor details.
- Donor registration and availability status
- Blood type and location-based search
- Request donors
- Clean and user-friendly UI
bloodbridge/
โโโ config.php
โโโ fetch_donors.php
โโโ index.php
โโโ login.php
โโโ logout.php
โโโ register.php
โโโ register_donor.php
โโโ bloodbridge_schema.sql โ Database file
Follow these steps to set up and run the Blood Bank project on your local machine:
- XAMPP
- PHP (included in XAMPP)
- MySQL (included in XAMPP)
- Web browser (e.g., Chrome)
-
Download & Install XAMPP
- Go to: https://www.apachefriends.org/index.html
- Download and install the XAMPP version suitable for your system.
-
Start Apache and MySQL
- Open XAMPP Control Panel
- Click Start next to Apache and MySQL
- Click Admin next to MySQL to open phpMyAdmin
-
Import the Database
- In phpMyAdmin, create a new database named
bloodbridge - Click Import tab
- Select the file
bloodbridge_schema.sqlfrom the project folder - Click Go to import the database structure and sample data
- In phpMyAdmin, create a new database named
-
Place Project Files
- Copy the entire project folder
bloodbridge/to:C:\xampp\htdocs\
- Copy the entire project folder
-
Run the Project
- Open a web browser
- Visit:
http://localhost/bloodbridge/index.php
- Database Name:
bloodbridge - Tables:
donation_requestusersdonors
- Import file:
bloodbridge_schema.sql
- Make sure
config.phphas the correct database connection credentials:$conn = new mysqli("localhost", "root", "", "bloodbridge");