Pharmacy Management System in PHP/MySQLi with Full Source Code


Pharmacy Management System in PHP/MySQLi with Full Source Code

The Pharmacy Management System is an automated system that is made of PHP, Bootstrap, JavaScript and CSS. It is a user friendly system that anyone who uses it won’t find difficulty in dealing with the features. The main purpose of this Pharmacy Management System is to manage the pharmacists and stores data accurately.

About the Pharmacy Management System in PHP/MySQLi with Full Source Code

Having a Pharmacy Management System could be a great help for pharmacist because they will no longer have difficulty in looking for the medicine because the system will do it for them. In this Pharmacy Management System, the admin has the ability to Add Pharmacist, Edit Pharmacist and remove them. All activities and tasks in the management of the Pharmacy Management System are done from the admin side. This Pharmacy Management System will cover the four basic function which is the CRUD and its’ define as CREATE, RETRIEVE, UPDATE, DELETE. The Pharmacy Management System performs the CRUD operations of admin, manage, supervisor and salesman.

These are the following features of Pharmacy Management System in PHP/MySQL with Full Source Code

  • Add Manager
  • Edit Manager
  • List of Manager
  • Manager Profile
  • Manager Change Password
  • Add Supervisor
  • Edit Supervisor
  • List of Supervisor
  • Supervisor Profile
  • Supervisor Change Password
  • Add Salesman
  • Edit Salesman
  • List of Salesman
  • Salesman Profile
  • Salesman Change Password

How to setup the Pharmacy Management System in PHP/MySQLi with Full Source Code

  1. Download the zip file.
  2. Download and install XAMPP
  3. Run the XAMPP control panel and start MySQL and Apache
  4. Go to C:\xampp\htdocs and extract the downloaded zip file (pms) inside the folder
  5. Open the browser and go to http://localhost/phpmyadmin/ to create the database
  6. Click the new to create a database.
  7. Name the database sourcecodester_pmsdb .
  8. Click import to import the sql file.
  9. Click choose file and select the file that can be found inside the pms folder
  10. Click go.

How to run the Pharmacy Management System in PHP/MySQLi with Full Source Code

Open the browser and go to http://localhost/pms/

Accessing admin accounts

Username: [email protected]
Password: admin

This Pharmacy Management System in PHP/MySQLi with Full Source Code is for educational purposes only. You can download it as a reference and expand your knowledge in making a system. You can freely modify it, according to your desire.

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 byahhhhhhh (not verified)on Sun, 04/25/2021 - 17:32

Warning: mysqli_connect(): (HY000/1049): Unknown database 'sourcecodester_pmsdb' in C:\xampp\htdocs\pms\pms\login_core.php on line 5 Fatal error: Uncaught TypeError: mysqli_error(): Argument #1 ($mysql) must be of type mysqli, bool given in C:\xampp\htdocs\pms\pms\login_core.php:7 Stack trace: #0 C:\xampp\htdocs\pms\pms\login_core.php(7): mysqli_error(false) #1 {main} thrown in C:\xampp\htdocs\pms\pms\login_core.php on line 7

Add new comment