Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Mar 2006
    Posts
    459
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Populate DropDown Menu From Datatbase

    Hi all, I want to have 2 drop down menus one on top of the other, the first one would have states, say if you select 'NA', then the second list would populate with those stores in NA... Anyone have any ideas?

  • #2
    New Coder
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    3
    Thanked 0 Times in 0 Posts
    tomy,

    What you're looking for is called a chained select. It is almost always performed using javascript/DHTML (with PHP or another server language feeding the data).

    An example:
    http://www.dynamicdrive.com/dynamici...menu/index.htm


    --RHYNO

  • #3
    Regular Coder
    Join Date
    Mar 2006
    Posts
    459
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Hi guys I posted in here but moved it to the JavaScript forum so apologies for that...
    Last edited by tomyknoker; 02-19-2008 at 05:11 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •