Setting the Database

For the website functionality is important for our site, both php/mysql were used to create the database tables and the connections to the database. The first bit of php we started off with was with the data table of alcoholic beverages we will have for users to choose form. We specified that we categorised all the drinks depending on their type of drink e.g. wine, beer, spirit. As well as the prices of the drink and percentage. Here is the coding below:

Screen Shot 2015-05-09 at 02.02.31Screen Shot 2015-05-09 at 02.06.37



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s