StickWithIt is an online food ordering website created using PHP. You can view and purchase various items as well as remove items from the cart.

Overview

StickWithIt (App Name)

StickWithIt is an online food ordering website created using PHP. The database used here is MYSQL database. The tool used here for storing the data is phpMyAdmin. The main purpose of an online ordering system is to provide customers for a way to place an order at a restaurant over the internet.

Through this site you can create an account by registering yourself. You can also purchase various items, create profile page and add contact number, update the password, increase or decrease the quantity of an item and also remove an item from the cart. This is just a demo website for college project.

PHP

PHP is a popular general-purpose scripting language that is especially suited to web development.

Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

With PHP, you can connect to and manipulate databases.

MySQL is the most popular database system used with PHP.

MySQL

  • MySQL is a database system used on the web
  • It is a database system that runs on a server
  • It is ideal for both small and large applications
  • It is very fast, reliable, and easy to use and uses standard SQL
  • It compiles on a number of platforms and is free to download
  • MySQL is developed, distributed, and supported by Oracle Corporation

The data in a MySQL database are stored in tables. A table is a collection of related data, and it consists of columns and rows.

To access MySQL in Windows you need to install the XAMPP.

XAMPP Server

XAMPP is a software distribution which provides the Apache web server, MySQL database (actually MariaDB), Php and Perl (as command-line executables and Apache modules) all in one package.

The XAMPP download site which I use is: XAMPP Download

PHP functions

Various functions used in the project:

  1. mysqli_query(): The query() / mysqli_query() function performs a query against a database. Syntax:
Object oriented style:
$mysqli -> mysqli_query(query, resultmode);

Procedural style:
mysqli_query(connection, query, resultmode);
  1. mysqli_num_rows(): The mysqli_num_rows() function returns the number of rows in a result set. Syntax:
mysqli_num_rows(result);
  1. mysqli_fetch_assoc(): The fetch_assoc() / mysqli_fetch_assoc() function fetches a result row as an associative array. Syntax:
Object oriented style:
$mysqli_result -> fetch_assoc();

Procedural style:
mysqli_fetch_assoc(result);
  1. isset(): The isset() function checks whether a variable is set, which means that it has to be declared and is not NULL. Syntax:
isset(variable, ....);
  1. move_uploaded_file(): The move_uploaded_file() function moves an uploaded file to a new destination. Syntax:
move_uploaded_file(file, dest);
  1. unset(): The unset() function unsets a variable. Syntax:
unset(variable, ....);
  1. mysqli_connect(): The connect() / mysqli_connect() function opens a new connection to the MySQL server. Syntax:
Object oriented style:
$mysqli -> new mysqli(host, username, password, dbname, port, socket);

Procedural style:
mysqli_connect(host, username, password, dbname, port, socket);
You might also like...
Library allows to detect emoji, remove emoji, encode emoji and decode emoji in string.

It allows to detect emoji, remove emoji, encode emoji and decode emoji in string. Installation composer require anisimov/emoji How to use Encode and

Shows you the current diocese that you're in, as well as the bishop.

Use config.php to create variables $dbuser and $dbpass for the database connection. Run `php -f ./coa/newcheck.php` to update database information fr

Tool to remove code based on specific comments.

PHP-DEL Tool to remove code based on specific comments. Configuration Create php-del.json in the root directory of the project { "dirs": [ "src"

This plugin help us to remove the unused file or directories in vendor

Composer Ignore Plugin This plugin help us to remove the unused file or directories in vendor. Installation Both global or local install can work well

It is a simple blog application coded with PHP, HTML, CSS. You can develop, edit. You can see it as a skeleton. ⚡
It is a simple blog application coded with PHP, HTML, CSS. You can develop, edit. You can see it as a skeleton. ⚡

PHP-BLOG-SYSTEM Simple blog system Features Adding Text Update Text Text Deletion User Login and register Bootstrap Design Profile Page How to use blo

Makes water in cauldrons boil when there's fire under it and allows players to cook food in the boil

BoilingCauldrons Makes water in cauldrons boil when there's fire under it and allows players to cook food in the boil • Description • Planned Features

David Recipe Food adalah sebuah aplikasi resep makanan dimana disini kita bisa melihat apa saja resep makanan yang ada dengan menggunakan framework7 , php, dan free hosting dari Ubaya dengan menggunakan ubaya.fun sebagai databasenya This Kirby V3 Plugin brings snippets and blueprints together in one place. It includes useful tools that completely changing the way you work with Kirby: Fast and well organized.
This Kirby V3 Plugin brings snippets and blueprints together in one place. It includes useful tools that completely changing the way you work with Kirby: Fast and well organized.

Kirby Components Overview Do you love to make awesome projects with Kirby CMS? Do you also find it difficult to switch between snippets and blueprints

Owner
Jenil Gajjar
A Front End Web Developer.
Jenil Gajjar
Online Food Ordering system with admin, owner, rider panel

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

sumit paul 1 Jun 17, 2022
Food theme for Commerce, intended for food delivery/pickup use cases

Food theme for Commerce ################################ WORK IN PROGRESS - NOT READY FOR USE ################################ This theme for Commerce

modmore | More for MODX 5 Feb 15, 2022
WooCommerce Empty Cart Button plugin helps you to add Empty Cart button to WooCommerce Pages/Sections using Shortcode only.

WooCommerce Empty Cart Button plugin helps you to add Empty Cart button to WooCommerce Pages/Sections using Shortcode only. How to use? Download the p

Katr 2 Sep 24, 2022
A PHP library that can be used manually as well as a CLI script that you can just run on your file

Run phpcs on files and only report new warnings/errors compared to the previous version. This is both a PHP library that can be used manually as well

Payton Swick 20 Aug 4, 2022
AppGallery IAP is a PHP library to handle AppGallery purchase verification and Server Notifications

AppGallery IAP About AppGallery IAP is a PHP library to handle AppGallery purchase verification and Server Notifications. This package simplifies deve

Dmitry 6 Aug 10, 2022
Verify purchase codes right on your WordPress dashboard.

envato-purchase-code-widget Verify purchase codes right on your WordPress dashboard. Install the plugin Go to Settings->EPCW and enter your "Envato AP

null 6 Oct 28, 2021
🌏 Webnux 🌏 , a videos streaming website where you can watch what you want when you want.

?? WEBNUX ?? Welcome to ?? Webnux ?? , a videos streaming website where you can watch what you want when you want. ☀️ ☀️ OBJECTIFS ☀️ ☀️ - A sessi

FrancisNtahimpera 1 Dec 3, 2021
This is a simple PHP Student Portal. You can login, logout, register, and view your details.

Student-Portal This is a simple PHP Student Portal with a MySQL Database. I made this as part of a university assignment, so you can login, logout, re

Christine Coomans 3 Feb 12, 2022
PHP Simple M3U Parser, it clean the playlist and remove duplicate

SimpleM3UParser PHP Simple M3U Playlist Parser, it clean, remove duplicate, and group the playlist. Usage see example.php <?php require_once "M3UPars

erwin solihin 3 May 30, 2022
This is a plugin for pocketmine-mp, when locking a player's items helps players not to lose items or throw things around causing server lag.

[] LockedItem| v1.0.0 Player's item lock Features Player's item lock Players aren't afraid of losing items For Devolopers You can access to LockedItem

JeroGamingYT 3 Jan 4, 2022