Depends how neat you want it to be! If you don't mind asking the user to hit a button for each selection, then treat each list as a form with its own submit button. Set the submit action to update the variable that you use for the select to create the next list down. Note that if you do this you will have to put the sql queries in line in the code! The alternative that I use when I want a neater solution is to pass the php variable to a javascript function which sets the next level variable and then returns to the script, but this can be confusing if you're newish to php and/or javascript. Tom Robert Trembath wrote: > A little help from anyone please. > > I know this was discussed before but I can't find it now that I need it. I > want to dynamically populate a pulldown list from a mysql query based on > what is selected from another pulldown list populated by a query from mysql. > If the first choice is changed a different list of option is populated in > the second. Please help! > > Robert > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED]
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]