Creating a dynamic, database-driven dropdown menu

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
9,674
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 12, 2010

Shows how to create a dynamic, database-driven dropdown menu in Dreamweaver CS3 by using a mySQL database and php. Uses a do while loop and is basically an extension of the Spry Menu bar in Dreamweaver.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (ADatStac)

  • 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 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

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • 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...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more