View Full Version : Combining Radio Buttons With a Select

12-29-2006, 03:26 PM
I am working on a page where users can choose to sort MySQL data by:

name, id#, or color

The PHP code should work this way:

once a user clicks on a radio button to choose the search criteria (user can only choose one way to search and the rest of the options should then be inactive). Right next to the radio button a drop down box will allow the user to select the actual name, id# or color (via MySQL queries) and then hit a submit button to go to the next screen. I have only found one example of how I want this to work. Preferably I would like to do the same thing with PHP and the selection of dynamic data.

(see the "other, select..." radio button)