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 Mar 24 '15
Thanks for replying,
My skill level is medium-low, I have used PHP, MySQL, XML, Ajax, JavaScript, HTML, Access etc. I know how to connect to the a database and grab data and output it as well as editing, adding and deleting data. But what I don't know is how create the link between the meal and the ingredients?
So far I have the meal data being outputted onto the webpage but I don't know how to link the meal with the ingredients and pull the specific data through