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 14 '15
Thank you, i have completed what you have suggested and it works, now i have to create an add section which will add the meal name and price to the meal table and along with that somehow link the ingredients with meal through the mealingredients table, this will result in the meal being link to the ingredients.
I have created the code for the adding of the meals and it works, i just dont see how to proceed. Your help has been invaluable. If you need to see code please ask.