If they want two pages they wouldn't need JS though - just submit and use that in your second query to populate drop-down #2. I had assumed that they wanted it on the same page - which is definitely cooler :-) Good point though - I should have asked which way they wanted to do it. I suppose if you really wanted to be able to say your site used JS you could still use it to set a hidden value in the form and submit it to the next page that way.
-Natalie > -----Original Message----- > From: Edward Marczak [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, March 06, 2002 10:27 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] Dynamic Drop Down Box > > On 3/5/02 3:34 PM, "Leotta, Natalie (NCI/IMS)" <[EMAIL PROTECTED]> > wrote: > > > This can be done with JavaScript - I don't know if you can do it in PHP. > > ...unless the drop-downs are on separate pages. E.g.: page 1 just asks > for > make, once selected, load up page 2 with choices appropriate to the first > drop down. Certainly, javascript is cooler. > -- > Ed Marczak > [EMAIL PROTECTED] > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php