Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am making a website of a resturant.
in database I have created two tables
1-food(id,food_name,cat_id(F.K),)
2-category(cat_id,cat_name)

I want to display the category in navigation bar and on clicking the category it has to show the respected food that comes under the category.

example I have the following entries in my table
food_name=Zinger Burger,Chicken Burger,Sea Food
cat_name=FastFood,Fish


I have to show the category on menu bar and on clicking the fastfood it shows the zinger and chicken burger.
Posted
Comments
Sandeep Mewara 6-Jul-12 9:10am    
Ok. And the issue is? You forgot to ask question.
_Zorro_ 6-Jul-12 11:49am    
Yep... what's the question?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900