Random Pick-a-Meal

by Keith D Commiskey

What it is: This is a PHP/MySQL-driven web based "Random Food Type and Restaurant Selector". You choose multiple Food Types or Restaurants from a list that you create, and it will randomly pick one for you.

The Restaurant side of the program provides for more detail, such as what type of restaurant it is (allows for two 'eat types'), and then lets you filter the restaurant list based on these filters. You then make a multiple selection, and let the program select where it is you're going to eat.

This web app is one PHP page, but uses two AJAX calls to one other PHP file, thanks to the Ajax Toolbox by Matt Kruse. The database consists of one table with 6 fields. There is even a good starter base table for the food types and restaurants that folks can start from.


Visit the

Pick-a-Meal

SourceForge.Net Page

Support This Project SourceForge.net Logo

RANDOM PICK-A-MEAL (PHP/MySQL)
Random Meal Selector

DEMO
See how it works! (opens in new window)

FILE DOWNLOAD
Visit the Pick-a-Meal SourceForge.Net Page

FILE LIST
dbconnect.php - customization file
pickameal.php - this file, which runs by itself in your browser
pickameal_ajax.php - query calls
pickameal.sql - database table structure and sample data
pickameal_versions.html - History of Pick-A-Meal
AjaxRequest.js - AjaxToolbox from Matt Kruse at http://www.AjaxToolbox.com/

CUSTOMIZATION and SETUP
dbconnect.php is the only file that requires modification.

REQUIREMENTS
PHP, MySQL

ABOUT THE PROGRAM
Random Pick-a-Meal Can't decide what to eat? Can't decide where to eat? Let the Random Pick-a-Meal pick it for you! Choose, Pick, and Go Eat! You can also add, activate, and de-activate selections

KDC SYSTEMS by Keith D Commiskey
KDC-Info Main Page
Form-a-Form - Quick and Simple Form Creator for PHP
Database Record Selector and Editor - DB-RSE is a MySQL record selector and editor
B2B Order Form - A simple auto-calculating order form, primarily suited for resellers!.
Guess-a-Number Game - For web developers: Add a guessing game on your site to attract visitors by giving away prizes.
Pick-a-Meal - A Random Meal/Restaurant Selector
Simple Site Catalog - A powerful yet simple and affordable online web store building system
Shopping Cart Catalog Multi-Product Editor - Integrated with Mals-E Free Shopping Cart

ABOUT THE AUTHOR
Keith D Commiskey (c)2007
Resume - Web Development, Database Development, 3D Graphics and Computer Animation


Keith D Commiskey (c)2007 | http://kdcinfo.com | http://giftsforyou.biz | Pick-a-Meal