Creating a dynamic, database-driven dropdown menu
Loading...
9,674
Loading...
Uploader Comments (ADatStac)
see all
All Comments (5)
-
I can't hear a thing.
-
Thanks. This was very helpful. I do have one question though. How do you make sure you don't get identical entries to your list? If you for example have two or more rows with the same data, but only want to display them once? Hope someone can help
-
Wow, nice tut, and FANTASTIC website, that student ought to be teaching you ae?
Loading...
This is a fab tutorial - I have categories I have set up in database such as Computers, Laptops, Mice etc. Can you expand on the menu showing drop down categories and then a further drop down box showing the products relating to each category??? thanks
BDIMedia1 6 months ago
@BDIMedia1 Just set up a loop within a loop. So while you are doing the do while loop, within each category just add another query that retrieves all records that have a categoryID of the current category in the loop. Hope that makes sense
ADatStac 4 months ago