PHP Projects

Simple Cafe Ordering System In PHP With Source Code

Project: Simple Cafe Ordering System in PHP with source code

About Project

Simple Cafe Ordering System is developed using PHP, CSS, and JavaScript. Talking about the project, it contains a user and admin side from where a user can order food item easily. From the admin panel, he/she can manage pending orders and add items. The Admin plays an important role in the management of the system. In this project, the user has to perform all the main functions from the Admin side.

About System

The user has to create their own member account for ordering food item. To order food, he/she just has to select available food from the menu and enter quantity. At last, the user has to provide a student number in order to confirm the order. From the admin panel, the admin can check all the order’s list and view certain food order with a student number, the amount paid, date and code.

Design of this project is pretty simple so that the user won’t find any difficulties while working on it. Simple Cafe Ordering System in PHP helps in ordering foods online. To run this project you must have installed virtual server i.e XAMPP on your PC (for Windows). Simple Cafe Ordering System in PHP with source code is free to download, Use for educational purposes only! For the project demo, have a look at the image slider below.


  1. Admin Panel
  2. Member login, Register
  3. Order food
  4. View orders
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 the databases tab
6th Step: Create a database naming “wings” and then click on the import tab
7th Step: Click on browse file and select “wings.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/onlinecafe/”
Provide the username and password which is provided inside the “Readme.txt” file.


Project Demo


This Post Has 7 Comments

  1. Sufi Taqiuddin Reply

    hi, i tried to login with the username and password that u provided but it shows error at connection.php at line 7. How do i correct this error?

  2. sayali Reply

    It display error when confirming order

  3. Mohamed mcm Reply

    when I want to join as new member this error comes to me
    Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\onlinecafe\connection.php:7 Stack trace: #0 C:\xampp\htdocs\onlinecafe\loginexec.php(6): include() #1 {main} thrown in C:\xampp\htdocs\onlinecafe\connection.php on line 7

  4. Tejas R Reply

    Hello sir , I need “Simple Cafe Ordering System in PHP with source code” project report, I will pay fee please make it available in 2 days..

Leave a Reply

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