Menu

Tree [390e80] master /
 History

HTTPS access


File Date Author Commit
 GoogleChart_PHP 2013-06-28 Owen Kellie-Smith Owen Kellie-Smith [48af3d] Shows pie chart
 pear 2013-07-13 bdmfst.com/fb bdmfst.com/fb [390e80] Removed redundant lslist
 fb_DB_Interface.php 2013-06-29 Owen Kellie-Smith Owen Kellie-Smith [0a6990] Delete enabled (all users)
 fb_create_tables.php 2013-06-28 bdmfst.com bdmfst.com [60e0d9] Changed front page
 fb_form.html.php 2013-06-28 Owen Kellie-Smith Owen Kellie-Smith [48af3d] Shows pie chart
 fb_get_dsn.php 2013-06-27 Owen Kellie-Smith Owen Kellie-Smith [14b43d] Tidied up
 fb_get_form.php 2013-06-28 bdmfst.com bdmfst.com [60e0d9] Changed front page
 fb_get_form_delete_amount.php 2013-06-29 Owen Kellie-Smith Owen Kellie-Smith [0a6990] Delete enabled (all users)
 fb_get_form_record_filter.php 2013-06-28 bdmfst.com bdmfst.com [60e0d9] Changed front page
 fb_get_form_user.php 2013-06-28 Owen Kellie-Smith Owen Kellie-Smith [72dd64] Removed reset button from login form
 fb_get_queries.php 2013-06-29 Owen Kellie-Smith Owen Kellie-Smith [0a6990] Delete enabled (all users)
 fb_get_record_filter.php 2013-06-28 Owen Kellie-Smith Owen Kellie-Smith [1f7d23] Filter records
 fb_get_table.php 2013-06-29 Owen Kellie-Smith Owen Kellie-Smith [0a6990] Delete enabled (all users)
 fb_get_user_id.php 2013-06-27 Owen Kellie-Smith Owen Kellie-Smith [b71deb] Vary user
 fb_header.html 2013-06-27 Owen Kellie-Smith Owen Kellie-Smith [14b43d] Tidied up
 fb_my_database_credentials.php 2013-06-28 bdmfst.com bdmfst.com [97d6a6] Fixed duplicate variable name
 fb_pie.php 2013-06-28 Owen Kellie-Smith Owen Kellie-Smith [48af3d] Shows pie chart
 fb_require_files.php 2013-07-13 bdmfst.com/fb bdmfst.com/fb [db60da] included pear
 fb_set_delete_amount.php 2013-06-29 Owen Kellie-Smith Owen Kellie-Smith [0a6990] Delete enabled (all users)
 fb_set_insert_amount.php 2013-06-27 Owen Kellie-Smith Owen Kellie-Smith [b71deb] Vary user
 index.php 2013-06-29 bdmfst.com/fb bdmfst.com/fb [7c1f6d] Chart auto-refreshes
 quickform.css 2013-06-24 Owen Kellie-Smith Owen Kellie-Smith [5c33cd] Initial commit
 readme 2013-06-27 Owen Kellie-Smith Owen Kellie-Smith [8791f8] Updated readme
 table.css 2013-06-25 Owen Kellie-Smith Owen Kellie-Smith [97a8ba] updated with version on live site bdmfst.com/fb

Read Me

This is a (working) mockup of something that could be added to a food donation website, enabling an online visible copy of the record of donations. It currently allows anyone to record any positive donation from one of two made up donors.

Preliminaries i.e. stuff you need to do just once:

Pear: Install MDB2, and MDB2_driver_mysql, HTML2_Quickform
Mysql database: create a new database (or note the name of an existing database) and update the credentials in fb_my_database_credentials.php
php create tables: Run fb_create_tables.php


Layers:
Styling: .css, fb_header.html
Presentation (Form): fb_form.html.php
Form interface layer: index.php 
Business layer: fb_get functions
Database interface layer : fb_DB_Interface class
MongoDB Logo MongoDB