pharmacy management
PHP Projects

Pharmacy Management In PHP With Source Code

Project: Pharmacy Management In PHP with source code

Please scroll down and click on the download button to download the Pharmacy management project for free

The Pharmacy management is developed using PHP, JavaScript, Bootstrap, and CSS. It’s easy to operate and understand by users. The design is pretty simple and the user won’t find it difficult to understand, use and navigate. Talking about the project, it contains the admin side. All the management of customers, medicines, purchases, sales, and suppliers is done from the admin side.

About The System

The pharmacy management consists of PHP, JavaScript, Bootstrap, and CSS. Talking about the project, it contains an admin side section. All the management is done from the admin side like adding customers, medicines, suppliers to deleting their records. This project has only a single agenda, that is, to allow the shop owner to maintain his business efficiently. Here you have to sign up in order to perform the CRUD operations. When you sign up then you can view the admin dashboard. From there you can manage all the necessary activities.


  • View Dashboard
  • See all Customers, Add customer, Edit customer, Delete customer
  • View all Medicines, Add medicines, Edit medicines, Delete medicines
  • See all Suppliers, Add Suppliers, Edit Suppliers, Delete Suppliers
  • View all Sales, Add Sale, Edit Sale, Delete Sale
  • See all Purchases, Add Purchase, Edit Purchase, Delete Purchase
  • View Sales and purchase report

Login Details

Username: admin
Password: admin123

How To Run Project?

To run this project, you must have installed a virtual server i.e XAMPP on your PC (for Windows). This Pharmacy Management in PHP with source code is free to download, Use for educational purposes only!

After Starting Apache and MySQL in XAMPP, follow the following steps

1st Step: Extract file
2nd Step: Copy the main project folder
3rd Step: Paste in xampp/htdocs/

Now Connecting Database

4th Step: Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: Then, click on the databases tab
6th Step: Create a database naming “pharmacy” and then click on the import tab
7th Step: Click on browse file and select “pharmacy.sql” file
8th Step: Click on go.

After Creating Database,

9th Step: Open a browser and go to URL “http://localhost/Pharmacy-Management/”

Project Demo


If stuck or need help customizing this System as per your need, just comment down below and we will do our best to answer your question ASAP.

This Post Has 10 Comments

  1. Eeshwar Reply

    Getting this error on home page:

    Fatal error: Uncaught TypeError: mysqli_fetch_array(): Argument #1 ($result) must be of type mysqli_result, bool given in C:\xampp\htdocs\Pharmacy-Management\home.php:95 Stack trace: #0 C:\xampp\htdocs\Pharmacy-Management\home.php(95): mysqli_fetch_array(false) #1 {main} thrown in C:\xampp\htdocs\Pharmacy-Management\home.php on line 95

    The UI of home page shown here above is not similar to the one given in project files… there are no boxes for “Create New Invoice”, “Add New Customer” etc….

    • codeprojects Reply

      we have updated the sql file,
      you can download again and use the updated SQL file for solving the error

  2. Eeshwar Reply

    There are lots of errors!!!
    Please provide code without errors

  3. ajinkya Reply

    i cant create invoice in your pharmacy managment project

    • codeprojects Reply

      we have updated the sql file,
      you can download again and use the updated SQL file

  4. pruthviraj Reply

    there is an error on my profile section ……on line no 33 34 35 36…….please resolve it ..we are try to do but we coudent …please help

  5. pruthviraj Reply

    yes some of the errors are resolve .
    But there is still error in My Profile section.
    please resolve it

  6. jagadees Reply

    invalid username and password

  7. DJango Reply

    Can I use this project with modification and sell it on my website.

  8. shagil Reply

    getting a error on sql file.
    Table ‘admin_credentials’ already exists

Leave a Reply

Your email address will not be published. Required fields are marked *