More Detail::
I have changed my table structure to his.
weekID is grabbed from another table where it has an ID 1-52 and the week name Week 1-52.
dayID is grabbed from another table where it has an ID 1-7 and the day names monday through sunday.
mealtimeID is the ID of the meal from a meals tables where it has an ID 1-5 and description Breakfast, lunch etc.
recipeID is the ID of the recipe in the recipe table.
Table structure
ID
weekID
dayID
mealtimeID
recipeID
I need to grab the contents of the table with the relevant meals that correspond to the correct criteria. for example it would be laid out like this. The values of the header and sidebar are constant only the items in the middle change.
How would i fill in the blanks of the table above with the recipe title held in the recipe table which has an recipeid which corresponds to the id held in the menu table?