Online Restaurant Site Using PHP With Source Code

Online Restaurant Site Using PHP With Source Code

Project : Restaurant Site (online)

Features:

  1. Log-In/Register system.
  2. Online Transactions.
  3. The password can be changed online.
  4. Categories divided in Food Zone.
  • HOME SCREEN

In this project, customers can check the food items and if they want, they can easily enter the quantity and add to cart for purchase details. Price is also mentioned in each food items. There are different categories which make easy to search the items for the users. The user can register to our site for free and should log in to order food items online. The user can easily change their password anytime they want from the site. It’s easy to operate and understand by users.The design is so simple that user won’t find it difficult to use and navigate.

How To Run?

You’ll need XAMP Server or WAMP Server. Put the file inside “c:/wamp/www/” or “c:/xampp/htdocs/”. Go To “localhost/phpmyadmin” in any browser and create Database (name according to SQL file).In that Database, Import the SQL file and finally go to URL: “http://localhost/file_name/phpfilename
Don’t Forget To create a database and import SQL file to run.

DOWNLOAD ONLINE RESTAURANT SITE USING PHP WITH SOURCE CODE : CLICK THE BUTTON BELOW

Download

25
Leave a Reply

avatar
9 Comment threads
16 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
12 Comment authors
odinL33sushmithaNaseeb Bajracharyash232 Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
sami
Guest
sami

can you send me agricultural management system in my gmail account

Naseeb Bajracharya
Guest

sorry, we don’t have that

Ali hamza
Guest
Ali hamza

Sir how does it works send me start to ending procedure

Naseeb Bajracharya
Guest

we don’t have documentation and reports

Princes Johyrra Uday
Guest
Princes Johyrra Uday

Hi, what’s the login to the admin? Thank you very much. 🙂

Naseeb Bajracharya
Guest

http://localhost/restro/admin/login-form.php
Username: admin
Password: 1234

Sorry, we forgot to mention the Admin Panel details inside project’s Readme File

Siva
Guest
Siva

Using chrome and its says unable to connect database or sometimes something wrong kindly help to connect with database

Naseeb Bajracharya
Guest

its depends upon the database name that you have provided in your server. Can you tell me what database name did you provide??

aak
Guest
aak

Hi sir, i had created database which name “rms” based on database dumb that you have provided.however i m not sure where should i rename “rms” in this content.In this case, can you help me? thank you.

<?php

Naseeb Bajracharya
Guest

After creating “rms” database have you imported the “rms.sql” file?

aak
Guest
aak

i already imported the rms.sql file

MySQL said:
#1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘Server version: 5.7.14
— PHP Version: 5.6.25

SET SQL_MODE = “NO_AUTO_VALUE_ON_’ at line 8

Naseeb Bajracharya
Guest

not sure about this, but this might be due to your xampp version. this project is tested in PHP 5.6.3 and it works perfectly.

aak
Guest
aak

may i know how to install PHP 5.6.3?

Naseeb Bajracharya
Guest

the simple way to is download and install XAMPP 5.6.3

akn
Guest
akn

hi sir. i had created database named “rms” based on database dump that you provided. however i m not sure where should i rename “rms” in this php. in this case, can you help me? tq. //Connect to mysql server $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if(!$link) { die(‘Failed to connect to server: ‘ . mysql_error()); } //Select database $db = mysql_select_db(DB_DATABASE); if(!$db) { die(“Unable to select database”); }

Naseeb Bajracharya
Guest

After creating “rms” database have you imported the “rms.sql” file?

Michael
Guest
Michael

I am unable to create new users in the system, i get the error “something went wrong. Our team is working on it at the moment. Please try again after some few minutes.” coming from //check whether an account with a given email exists $qry_select=”SELECT * FROM members WHERE login=’$login'”; $result_select=mysqli_query($qry_select); if(mysqli_num_rows($result_select)>0){ header(“location: register-failed.php”); exit(); } else{ //Create INSERT query $qry = “INSERT INTO members(firstname, lastname, login, passwd, question_id, answer) VALUES(‘$fname’,’$lname’,’$login’,'”.md5($_POST[‘password’]).”‘,’$question_id’,'”.md5($_POST[‘answer’]).”‘)”; $result = mysqli_query($qry); //Check whether the query was successful or not if($result) { header(“location: register-success.php”); exit(); }else { die(“Something went wrong.\n Our team is working on it at the… Read more »

Naseeb Bajracharya
Guest

I just rechecked it. I tried to create a new user from the Register, it works perfectly! create a new user from the register which can be found on the index page.

L33
Guest
L33

I’m facing the same problem, “something went wrong. Our team is working on it at the moment. Please try again after some few minutes.” Hope there must be some mistake in the code,not able to create user from register.

L33
Guest
L33

Could you correct it ? I’m facing the same problem ,help me with it.

sh232
Guest
sh232

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\Restaurant-Site-PHP\Restaurant Site PHP\restro\index.php:6 Stack trace: #0 {main}thrown in C:\xampp\htdocs\Restaurant-Site-PHP\Restaurant Site PHP\restro\index.php on line 6

Naseeb Bajracharya
Guest

mysql_connect() has been removed in PHP 7.
You can use mysqli_connect()
or simply switch to PHP 5.6.3

sushmitha
Guest
sushmitha

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\Restaurant Site PHP\restro\foodzone.php:5 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Restaurant Site PHP\restro\foodzone.php on line 5