Skip to content

nagarjunpl/Blood_Bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฉธ Blood Bank Management System - PHP Project

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.


๐Ÿงฐ Features

  • Donor registration and availability status
  • Blood type and location-based search
  • Request donors
  • Clean and user-friendly UI

๐Ÿ“ฆ Project Structure

bloodbridge/

โ”œโ”€โ”€ config.php

โ”œโ”€โ”€ fetch_donors.php

โ”œโ”€โ”€ index.php

โ”œโ”€โ”€ login.php

โ”œโ”€โ”€ logout.php

โ”œโ”€โ”€ register.php

โ”œโ”€โ”€ register_donor.php

โ””โ”€โ”€ bloodbridge_schema.sql โ† Database file


๐Ÿš€ How to Run This Project

Follow these steps to set up and run the Blood Bank project on your local machine:

โœ… Requirements

  • XAMPP
  • PHP (included in XAMPP)
  • MySQL (included in XAMPP)
  • Web browser (e.g., Chrome)

๐Ÿ› ๏ธ Setup Instructions

  1. Download & Install XAMPP

  2. Start Apache and MySQL

    • Open XAMPP Control Panel
    • Click Start next to Apache and MySQL
    • Click Admin next to MySQL to open phpMyAdmin
  3. Import the Database

    • In phpMyAdmin, create a new database named bloodbridge
    • Click Import tab
    • Select the file bloodbridge_schema.sql from the project folder
    • Click Go to import the database structure and sample data
  4. Place Project Files

    • Copy the entire project folder bloodbridge/ to:
      C:\xampp\htdocs\
      
  5. Run the Project

    • Open a web browser
    • Visit:
      http://localhost/bloodbridge/index.php
      

๐Ÿ—‚๏ธ Database Info

  • Database Name: bloodbridge
  • Tables:
    • donation_request
    • users
    • donors
  • Import file: bloodbridge_schema.sql

๐Ÿ“Œ Notes

  • Make sure config.php has the correct database connection credentials:
    $conn = new mysqli("localhost", "root", "", "bloodbridge");

About

๐Ÿฉธ PHP & MySQL-based Blood Bank system for donor records, blood search, and requests.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages