Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
12-29-2006, 03:26 PM #1
- Join Date
- Dec 2006
- Thanked 0 Times in 0 Posts
Combining Radio Buttons With a Select
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)