Point of Sale System (POS) using PHP and MySQL

By CampCodes Administrator

Updated on:

point of sale system in php

Project: Point of Sale System (POS) using PHP and MySQL with Source Code

About Point of Sale System (POS) using PHP MySQL Project Free Download

The Point of Sale (POS) System using PHP MySQL with Source Code is a PHP project that manages the sale transaction of a certain store. The project was developed for a certain store which is for the medical store or Pharmacy. This system stores all the products that the store or pharmacy is selling, then the system user will encode the sale transaction on the sales page when the data saved or submitted the transaction will be stored in the database for reporting purposes.

The features of this Point of Sale System are the following:

  • Add, Edit, and Delete Products
  • The table row will highlight if the product is below the quantity of 10
  • Search products
  • Add, Edit, and Delete Customers
  • Add, Edit, and Delete Suppliers
  • Generate Daily, Monthly, and Yearly Reports
  • Can Print Transaction
  • And More…

Point of Sale System (POS) Project

  • Name of Project:     Point of Sale System (POS) Project
  • Language:                  PHP
  • Databases used:      MySQL
  • Design used:            HTML JavaScript, Ajax, JQuery, Bootstrap
  • Browser used:          IE8, Google Chrome, Opera Mozilla
  • Software used:         WAMP/ XAMPP/ LAMP/MAMP
READ ALSO:   Complete Multi Branch Dormitory Management System in PHP MySQL Free Download Source Code

Screenshots

point of sale system using php

point of sale system using php mysql
point of sale system using php mysql

How To Run??

Above all, to run this project you must have installed a virtual server i.e XAMPP on your PC. Point of Sale System (POS) Project in PHP and MySQL with source code is free to download, Use for educational purposes only!

Follow the following steps after Starting Apache and MySQL in XAMPP:

1st Step: Firstly, Extract the file
2nd Step: After that, Copy the main project folder
3rd Step: So, you need to Paste in xampp/htdocs/

Further, Now Connecting Database

4th Step: So, for now, Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: After that, Click on the databases tab
6th Step: So, Create a database naming “sales” and then click on the import tab
7th Step: Certainly, Click on browse file and select “sales.sql” file which is inside the “db” folder
8th Step: Meanwhile, click on Go button.

After Creating Database,

9th Step: Moreover, Open a browser and go to URL “http://localhost/pos”

Admin Access

Username: admin

Password: admin

DEMO


Related Projects: Complete Ultimate POS with Inventory Software, Sales and Inventory Management System using PHP CodeIgniter and MySQL, Computer Sales and Inventory System in PHP MySQL, Grocery Sales and Inventory System in PHP MySQL, Complete Sales and Inventory System with Credit Management using PHP, Simple POS and Inventory Management System in PHP/MySQL

39 thoughts on “Point of Sale System (POS) using PHP and MySQL”

  1. Fatal error: Uncaught ArgumentCountError: mktime() expects at least 1 argument, 0 given in C:\xampp\htdocs\pos\main\navfixed.php:15 Stack trace: #0 C:\xampp\htdocs\pos\main\navfixed.php(15): mktime() #1 C:\xampp\htdocs\pos\main\index.php(90): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\pos\main\navfixed.php on line 15

    Reply
  2. how to fix this?
    Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it in C:\xampp\htdocs\phplogin\pos\connect.php:10 Stack trace: #0 C:\xampp\htdocs\phplogin\pos\connect.php(10): PDO->__construct(‘mysql:host=loca…’, ‘admin’, Object(SensitiveParameterValue)) #1 C:\xampp\htdocs\phplogin\pos\main\products.php(172): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\phplogin\pos\connect.php on line 10

    Reply
  3. How to solve this error???

    Fatal error: Uncaught mysqli_sql_exception: Unknown database ‘sales’ in D:\xampp\htdocs\pos\login.php:12 Stack trace: #0 D:\xampp\htdocs\pos\login.php(12): mysqli_connect(‘localhost’, ‘root’, Object(SensitiveParameterValue), ‘sales’) #1 {main} thrown in D:\xampp\htdocs\pos\login.php on line 12

    Reply
  4. this line isnt working, the save button will not appear. but if i remove this it will show,

    prepare(“SELECT * FROM supliers”);
    $result->bindParam(‘:userid’, $res);
    $result->execute();
    for($i=0; $row = $result->fetch(); $i++){
    ?>

    Reply
  5. Fatal error: Uncaught ArgumentCountError: mktime() expects at least 1 argument, 0 given in C:\xampp\htdocs\pos\main\navfixed.php:15 Stack trace: #0 C:\xampp\htdocs\pos\main\navfixed.php(15): mktime() #1 C:\xampp\htdocs\pos\main\index.php(90): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\pos\main\navfixed.php on line 15

    any clue?

    Reply
  6. i have trouble in Sale Report..

    Notice: Undefined index: d1 in C:\xampp\htdocs\pos\main\salesreport.php on line 165

    how can i fix it?

    Reply
  7. Fatal error: Uncaught ArgumentCountError: mktime() expects at least 1 argument, 0 given in C:\xampp\htdocs\pos\main\navfixed.php:15 Stack trace: #0 C:\xampp\htdocs\pos\main\navfixed.php(15): mktime() #1 C:\xampp\htdocs\pos\main\index.php(90): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\pos\main\navfixed.php on line 15

    im getting this error

    Reply
  8. Fatal error: Uncaught ArgumentCountError: mktime() expects at least 1 argument, 0 given in C:\xampp\htdocs\pos\main\navfixed.php:15 Stack trace: #0 C:\xampp\htdocs\pos\main\navfixed.php(15): mktime() #1 C:\xampp\htdocs\pos\main\index.php(90): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\pos\main\navfixed.php on line 15

    Reply

Leave a Comment