WEB some html/php help needed

Discussion in 'OT Technology' started by DnA02, May 9, 2009.

  1. DnA02

    DnA02 Hey, how YOU doin?! OT Supporter

    Joined:
    May 27, 2004
    Messages:
    1,914
    Likes Received:
    0
    how do i create a drop down list that pulls data from my database for a submission form?

    heres the catch, lets say i have two drop down fields...how do i make the second field dependent on the first field

    so once users pick an answer for the first field, the second field will only show data related to the first field

    i need something in php/html, the simpler the better...i tried googling but didnt know what to search for :o
     
  2. 2ofdem

    2ofdem OT Supporter

    Joined:
    Jun 17, 2003
    Messages:
    114,854
    Likes Received:
    8
    Location:
    aus.vic.mel
    php loop to fill in the list

    javascript to control the form
     
  3. brds

    brds OT Supporter

    Joined:
    Jun 26, 2006
    Messages:
    17,646
    Likes Received:
    15
    Location:
    Atlanta
    look into ajax
     
  4. Ricky

    Ricky █▄ █▄█ █▄ ▀█▄

    Joined:
    Jun 17, 2005
    Messages:
    38,767
    Likes Received:
    6
    i had a little script that took a lot of trial and error before i got it right :o

    i think i lost it though :o
     

Share This Page