anonymous
2008-01-17 15:30:56 UTC
I want a dynamic menu for a webpage in PHP that does this:
1. Echo the friendly name of the first main category.
2. Echo all subcategories in this main category and at the side of each do a count to show how many shops are in each subcategory.
3. Echo all other main categories with their subcategories and counts.
Suspect i need2use foreach and while/for loop or a function. Thnx,Daz