Data Access Functions

I have created the stubs and have begun testing the functions that will
store the data in the database. There is a helper php file to test each
function with values such that we can assure the functions work
correctly.
Data Access Functions

Filled in many of the stubs for data access.