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.

http://technology.amis.nl/blog/index.php?p=678
(see the "other, select..." radio button)