Project: POS Pharmacy System In PHP with source code
-To download POS pharmacy system project for free(Scroll Down)
In this system, User has to log in as admin. The pharmacist can create new prescriptions, manage stock. Admin can manage payments. He can view users, view prescriptions, manage/add medicine stock. 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. This project is developed using PHP, JavaScript, Bootstrap, and CSS. Talking about the project, it contains just a user side. All the management are done from the admin side like maintaining the daily sales report. From the user side, the users can view the homepage and see the contents available there. Through this site, the admin can view his shop log with more ease. He/She can manipulate the activities inside their shop. Can add and maintain the dealer’s information.
About The System
POS Pharmacy System allows you to manage the medicines with ease. You can check each and every detail. The project consists of PHP, JavaScript, Bootstrap, and CSS. Talking about the project, it contains just an admin side. All the management are done from the admin side like adding customers to adding the drug or medicine dealer. From the user side, the users can view the homepage and see the contents available there. Through this site, admin can maintain his business.
This project intends to provide the students with an environment where they can maintain a shop system. By doing this, it will allow them to gain the basic knowledge about using any kind of project management system. 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 sing up then you can view the admin dashboard. From there you can manage your all the necessary activities.
Features such as Editing site content, user management, and site settings are the most essential feature of a site. And these all features have made management of site easier as the user can change the content and setting any time he/she wants rather than opening the whole source code and changing each line of codes. This project in PHP helps in easy management of your fruit shop. Here the user can maintain their daily up to date records.
Note: Please do not try to delete any files within the given project folder. Doing so may lead up to fatal errors in the program.
Features
- Login
- Sales report view
- Add supplier and customer
- print receipt
How To Run??
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 databases tab
6th Step: Create database naming “sales” and then click on import tab
7th Step: Click on browse file and select “sales.sql” file which is inside “database” folder
8th Step: Click on go.
After Creating Database,
9th Step: Open a browser and go to URL “http://localhost/pharma/admin/
DOWNLOAD POS PHARMACY SYSTEM IN PHP WITH SOURCE CODE FOR FREE: CLICK THE BUTTON BELOW
[quads id=1]
http://localhost/Pharma/ on this address when we type admin .. admin as username and password and than click on login button show ..username missing and password missing… why..please help 0){ session_start(); $_SESSION[‘admin_id’]=$row[0]; $_SESSION[‘username’]=$row[1]; header(“location:http://“.$_SERVER[‘HTTP_HOST’].dirname($_SERVER[‘PHP_SELF’]).”/admin.php”); }else{ $message=”Invalid login Try Again”; } break; case ‘Pharmacist’: $result=mysql_query(“SELECT pharmacist_id, first_name,last_name,staff_id,username FROM pharmacist WHERE username=’$username’ AND password=’$password'”); $row=mysql_fetch_array($result); if($row>0){ session_start(); $_SESSION[‘pharmacist_id’]=$row[0]; $_SESSION[‘first_name’]=$row[1]; $_SESSION[‘last_name’]=$row[2]; $_SESSION[‘staff_id’]=$row[3]; $_SESSION[‘username’]=$row[4]; header(“location:http://“.$_SERVER[‘HTTP_HOST’].dirname($_SERVER[‘PHP_SELF’]).”/pharmacist.php”); }else{ $message=”Invalid login Try Again”; } break; case ‘Cashier’: $result=mysql_query(“SELECT cashier_id, first_name,last_name,staff_id,username FROM cashier WHERE username=’$username’ AND password=’$password'”); $row=mysql_fetch_array($result); if($row>0){ session_start(); $_SESSION[‘cashier_id’]=$row[0]; $_SESSION[‘first_name’]=$row[1]; $_SESSION[‘last_name’]=$row[2]; $_SESSION[‘staff_id’]=$row[3]; $_SESSION[‘username’]=$row[4]; header(“location:http://“.$_SERVER[‘HTTP_HOST’].dirname($_SERVER[‘PHP_SELF’]).”/cashier.php”); }else{ $message=”Invalid login Try Again”; } break; case ‘Manager’: $result=mysql_query(“SELECT manager_id, first_name,last_name,staff_id,username FROM… Read more »
what is the username&password??
cant find the sales.sql
If i log in to the cashier the content of those are empty what to do?
Its not Working
You did a fantastic job….kudos. It works very well.
What’s the user name n password please
Username: admin
Password: admin
username missing
password missing
Please help.
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:xampphtdocspharmalogin.php:12 Stack trace: #0 {main} thrown in C:xampphtdocspharmalogin.php on line 12
how to solved this error?????????
please help me
Use function name as mysqli_connect(). It will work smoothly! Earlier versions of PHP used the MySQL extension.
As you get errors, as per my knowledge all the functions in your code should be started as mysqli_……()
check with mysql version if its 5 then it will work if its higher then you need to change mysqli, check with data base link first in file ( ‘sales’,$link)is available change to ($link, ‘sales’)
Please explain more…. what do i need to change?
what is the username&password??
Fatal error: Uncaught Error: Call to undefined function mysql_select_db() in C:xampphtdocspharmalogin.php:18 Stack trace: #0 {main} thrown in C:xampphtdocspharmalogin.php on line 18
how to solved this error?????????
please help me
log in error. check the screenshot https://drive.google.com/open?id=1yu8198s4Z5ht1eiPV-zhDIbIdCwxyYrV
Thank you
Your site is very helpful
could you pleasae tell me what is the error in this i’m not able to open this
while login we are getting error “user name missing” “password missing”
Fatal error: Uncaught Error: Call to undefined function mysql_select_db() in C:\xampp\htdocs\pharma\login.php:18 Stack trace: #0 {main} thrown in C:\xampp\htdocs\pharma\login.php on line 18
please what is the solution
Hi, may i know the list of the apps that used for building this project ??
Hi, im still new in developing a system. Can i know all the software that used for building this pharmacy system.
can u provide report
Hey, i got serious problem when adding products from dashboard.
It says Field ‘cost’ doesnt have a default value in ….pharma\main\saveproduct.php on line 18
Please kindly help me
And also in next sales dashboard while adding sales by inputing customer name and cash and clicking save it shows error saying that Field ‘balance’ doesnt have a default value in savesales.php on line 23
I have the working this project, if any one need this then contact me on [email protected]
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\pharma\pharma\login.php:12 Stack trace: #0 {main} thrown in C:\xampp\htdocs\pharma\pharma\login.php on line 12
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\pharma\pharma\login.php:12 Stack trace: #0 {main} thrown in C:\xampp\htdocs\pharma\pharma\login.php on line 12
please help
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\pharma\login.php:12 Stack trace: #0 {main} thrown in C:\xampp\htdocs\pharma\login.php on line 12
change mysql_connect() to mysqli_connect()
Fatal error: Uncaught Error: Call to undefined function mysql_select_db()??????
please help me
POS is not working