TonyCronin
Programmer
My database has three tables - Category, SubCategory, Details. On my site - the first page shows all categories (I am using Select * from Category to create list of categories). When a category is clicked the next page shows all subcategories (Select * Subcategory where Category matches the one passed)
What I would like it the first page to show the number of subcategories that exist for a category on the first page. i.e.
Category 1 (2)
Category 2 (5)
etc. How would I do this?
Any help appreciated.
What I would like it the first page to show the number of subcategories that exist for a category on the first page. i.e.
Category 1 (2)
Category 2 (5)
etc. How would I do this?
Any help appreciated.