Jump to content

displaying mysql results using radio buttons


Reaper0167

Recommended Posts

I have a script that displays mysql results within a table. Lets say that the table has a column named Holidays. On my page I have 4 radio buttons named, (X-Mas, Halloween, Easter, Thanksgiving). Right now the table displays all the results from the table. Is it possible to click on one of the radio buttons (lets say Halloween) and have the page refresh and only show results from the holidays column named Halloween? I could make separate pages for each radio button, but that is just way too many pages. I think I'm looking to change the mysql query depending on what radio button is checked. Is there a name for this operation? Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.