Adding Drinks

While most of the code has already been written for the Add Drink interface, the database handler which will send the information from the completed configuration form to the corresponding database tables. It will require interaction with more than one table since the liquid IDs and the drinks are stored separately, which means there will be some fun cross-checking to make sure the right liquid IDs are being stored for the drink when it is inserted.

I spent the last week reteaching myself PHP/MySQL, since I haven’t used PHP for a few years now. I did a lot of SQL at work over the summer, but it was just direct queries from C# programs. I’m going to be spending some time over the next week going through Derek’s code that he already has written and seeing if I can whip up a test page and get the database handler working.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*