Food Ordering System Using PHP/MySQLi with Full Source Code (2020)

Language

Food Ordering System in PHP/MySQLi with Full Source Code(2020)

The Food Ordering System is an automated system that is developed using PHP, JavaScript, BootStrap, CSS and MySQL for the database. It contains two side the user/customer side and the admin side. It is designed as a user friendly system that different users won’t find difficulty in dealing with the functions of Food Ordering System in PHP/MySQLi with Full Source Code.

About the Food Ordering System in PHP/MySQLi with Full Source Code

The main purpose of this Food Ordering System in PHP/MySQLi with Full Source Code is to provide customers a quick, efficient and convenient ordering process. In order for the customer to have an access into Food Ordering System in PHP/MySQLi with Full Source Code he has to sign in first so, he can log on at his convenience. It will only take him few seconds to do the whole process. Then, the customer can view the menu that is displayed on the dashboard before ordering them and proceed to check out. While, the admin of this Food Ordering System in PHP/MySQLi with Full Source Code is the one who is responsible in all activities such as updating the menu items, adding items, removing items and many more. This Food Ordering System in PHP/MySQLi with Full Source Code includes payment method and generates an initial bill to be use by the customer in paying their ordered food.

These are the following features of the Food Ordering System in PHP/MySQLi with Full Source Code

Admin Side

  • Manage Menu of Food
  • Manage All Orders
  • Manage Delivery of Orders
  • Manage Cancelled by Customer Orders
  • Manage Pending Orders
  • Manage All Tickets
  • Manage Answered Tickets
  • Manage Users

Customer

  • Menu of Foods
  • Order Foods
  • Manage Payments
  • Manage Ordered Foods
  • Manage Tickets
  • Manage Customers Profile

How to setup the Food Ordering 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 (foodordering) 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_foodordering.
  8. Click import to import the sql file.
  9. Click choose file and select the file that can be found inside the foodorderingfolder.
  10. Click go.

How to run the Food Ordering System in PHP with Full Source Code.

Open the browser and go to http://localhost/foodordering/
Accessing admin accounts

Username: admin
Password: admin

This Food Ordering 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 SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

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.

Comments

I have a error can you help me please thank you. Warning: Undefined array key "" in C:\xampp\htdocs\FoodOrdering\includes\wallet.php on line 2 Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 in C:\xampp\htdocs\FoodOrdering\includes\wallet.php:3 Stack trace: #0 C:\xampp\htdocs\FoodOrdering\includes\wallet.php(3): mysqli_query(Object(mysqli), 'SELECT * FROM w...') #1 C:\xampp\htdocs\FoodOrdering\index.php(3): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\FoodOrdering\includes\wallet.php on line 3

Can you help me I get this error: Warning: Undefined array key "name" in C:\xampp\htdocs\order2\includes\connect.php on line 7 Warning: Undefined array key "role" in C:\xampp\htdocs\order2\includes\connect.php on line 8 Warning: Undefined array key "user_id" in C:\xampp\htdocs\order2\includes\wallet.php on line 2 Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 in C:\xampp\htdocs\order2\includes\wallet.php:3 Stack trace: #0 C:\xampp\htdocs\order2\includes\wallet.php(3): mysqli_query(Object(mysqli), 'SELECT * FROM w...') #1 C:\xampp\htdocs\order2\index.php(3): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\order2\includes\wallet.php on line 3

It is sloved but if I login with a customer account it keeps loading. How can I slove that?

Add new comment