r/DatabaseHelp • u/insert-team-name • Mar 23 '15
Can you build a relational database using WAMP?
I have been given a project to design a food calculator, and the way i was think about setting the tables out is to build one that has all the meals and another that has all the ingredients and get it to reference that table when the user clicks the meal, so it will display all the ingredients and what they cost. Is this possible? or do I need to rethink?
Any help/tutorials would be appreciated.
2
Upvotes
View all comments
Show parent comment
1
u/insert-team-name May 15 '15 edited May 15 '15
Yeah it is just for homework, its a dish costing system, so a meal will be linked to ingredients and if there price changes all prices will change. That's basically my tables, i just cannot figure you how to display a way for the user to select ingredients and then match them with the meal and put them in the mealingredients table.
[http://imgur.com/ovPm9Sl]
So far my code is