Help with table relationships and joining tables
I like to have recipes on the website that the user can display by choosing a certain category.
Lets say the database holds 100 recipes and those are categorized in 5 categories (Meat, Fish, Salad, Soup, Chicken, etc). So the user will click on the category he likes displaying all the recipes within that category.
I can not figure out how to assign one recipe to several different categories so that Recipe 58 for example will be displayed in the meat as well as in the salad category.
So two tables in the DB are recipes and recipescategories
I am new to Databases and struggle if it comes to table relationships and joining tables (obviously). So after researching this it appears that I have to create another table to join those two tables so i did another which is:
Am I on the right path to achieve this and is there a tutorial available that shows how something like this is done and also how to do this in the insert and update pages?
Any help that points me in the right direction is greatly appreciated.
Thanks a lot