Skip to content

Latest commit

 

History

History
87 lines (55 loc) · 2.55 KB

README.md

File metadata and controls

87 lines (55 loc) · 2.55 KB

🥘 Food Order Website Complete Course

In this course, you'll learn to Create a Complete Dynamic and Fully Functional Website using PHP prrogramming language and MySQL Database.

⚙️ Technology Used

  1. HTML5
  2. CSS3
  3. Core/Procedural PHP programming language
  4. MySQL Relational Database

🧰 Features

  1. Visitors/Users can browse all the Categories and Food Items.
  2. They also can order easily from the website.
  3. Admin can Manage Admin, Caegories and Food Items
  4. Admin can also Manage and Track Food Order and Delivery

🎓 Access the Course

Click Here and Learn to develop a fully functional and dynamic "Food Order System" with PHP programming language and MySQL Database.

👏 Support Developer

  1. Subscribe & Share my YouTube Channel - https://bit.ly/vijay-thapa-online-courses
  2. Add a Star 🌟 to this 👆 Repository

Donate

PayPal

Buy me a Coffee ☕️

Donate by wire transfer: E-Mail at [email protected] for wire transfer details.

📖 How to Download the Project and Run on your PC?

Pre-Requisites:

  1. Download and Install XAMPP

Click Here to Download

  1. Install any Text Editor (Sublime Text or Visual Studio Code or Atom or Brackets)

Installation

  1. Download as as Zip or Clone this project
  2. Move this project to Root Directory
Local Disc C: -> xampp -> htdocs -> 'this project'

Local Disk C is the location where xampp was installed

  1. Open XAMPP Control Panel and Start 'Apache' and 'MySQL'

  2. Import Database

a. Open 'phpmyadmin' in your browser b. Create a Database c. Import the SQL file provided with this project

  1. Make Changes to settings

Go to 'config' folder and Open 'constants.php' file. Then make changes on following constants

<?php 
//Start Session
session_start();

//Create Constants to Store Non Repeating Values
define('SITEURL', 'http://localhost/food-order/'); //Update the home URL of the project if you have changed port number or it's live on server
define('LOCALHOST', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_NAME', 'food-order');
    
$conn = mysqli_connect(LOCALHOST, DB_USERNAME, DB_PASSWORD) or die(mysqli_error()); //Database Connection
$db_select = mysqli_select_db($conn, DB_NAME) or die(mysqli_error()); //SElecting Database 

?>
  1. Now, Open the project in your browser. It should run perfectly.