online pizza ordering system in PHP

The simple online pizza ordering system in PHP and MYSQL database with the complete zipped source code provided. This system helps in making orders for pizza online, just like an e commerce website.

online pizza ordering system in PHP
online pizza ordering system in PHP

Table of content

  1. About the online pizza ordering system in PHP
  2. Features of the online pizza ordering system in PHP
  3. Script details
  4. Server Requirements
  5. How to run the downloaded source code
  6. The screenshots

About the online pizza ordering system in PHP

The simple online pizza ordering and management system in PHP is a system that allows people to make pizza orders online. This system is managed by the administrator. The admin creates pizza/menus with description and adds prices to them based on worth, so that users who come online can view the price before making orders.

The admin manages all the menus from the pizza menu. He can delete and edit a menu. When adding menus, the admin adds it with the image of the pizza so people will see exactly the type they are buying.

The menus are displayed on the home page.  The menus are categorized for easy identification.

Features of the online pizza ordering system in PHP

  • Dashboard – view active and inactive menus listed on the website. Here you will see the total orders etc. This page is only accessible by the admin. 
  • The admin creates menus.
  • The admin manages all the users from the users’ navigation.
  • Admin can edit any user.
  •  Logout system
  •  Admin can add pizzas
  • Admin can add categories for pizza
  • Admin can manage all menus
  • Manage orders
  • Add menu images
  • Add pizza prices
  • Delete and edit menus
  • Add menu
  • Change delivery status 
  • Change order status

Script Details

  • Written in – PHP, HTML, JavaScript
  • Database – MYSQL
  • Design – Bootstrap, CSS
  • Includes – README file
  • Type – web application
  • Download type – Zip file
  • Download size – 19.65mb

Server Requirements

 Almost all servers already have them installed.

  • PHP 6 +
  • PHP
  • MYSQL Database

Step by step to run the script (installation)

A server is required to run this project. We will be using XAMPP.

For XAMPP

  1. The script is provided below, click on download to start downloading the script.
  2. Go to your download folder in your Pc and extract the source code folder.
  3. Copy the folder you extracted and paste it in (for XAMPP xampp/htdocs, for WAMPP wampp/www, for LAMPP var/www/html) root directory in your pc.
  4. Open your XAMPP Control panel and start Apache and MYSQL.

Creating a database

  1. Open your browser
  2. Go to this path “http://localhost/phpmyadmin/
  3. Click on New on the left side of the screen.
  4. Create a database named “opos” (or with any other name you want) and click on create. Read NOTE below first.
  5. Click on the import tab.
  6. Click on browse file and select “opos.db” from the database folder we extracted.
  7. Click on Go.

NOTE: IF YOU USE ANOTHER DATABASE NAME APART FROM “opos”, MAKE SURE TO ALSO CHANGE IT IN db_connect.PHP FILE

After creating a database

  1. Open a new tab on your browser and go to the path. E.g. “http://localhost/opos/”
  2. The login page will be displayed.
  3. Login using the details below.

Login info

Admin login: http://localhost/opos/admin/

Username: admin

Password: admin

Screenshots