Populating a Dropdown list in PHP dynamically

Posted by mouthpiec on Stack Overflow See other posts from Stack Overflow or by mouthpiec
Published on 2010-04-09T22:11:21Z Indexed on 2010/04/09 22:13 UTC
Read the original article Hit count: 275

Filed under:
|
|
|

Hi,

I have a small PHP page which contains two drop down lists

I need to populate the second one according to the result selected in the first drop down list .... is this possible? In other words I need to use the value selected from the first drop down list and use it in the dB query used to populate the second drop down list (but this should be populated upon selection of the first drop down list.

If this is possible any hints please? (you can assume that I am able to populate the first drop down list from the dB)

thanks

© Stack Overflow or respective owner

Related posts about dropdownlist

Related posts about php