Retrieve values from radio buttons

This is probably a very basic question, but I have trouble finding the solution and maybe someone can help me or direct me to some other sites.

I have a page here: Benchmark Results
There are 9 tabbed panels with a number of radio buttons,

and below that is a list of records from a MySQL database.

I want the following to happen:

  1. When a radio button is clicked, I want to retrieve the value associated with the button.
    Should I use a hidden button with the ‘On-click’ property? How do I retrieve the value?

  2. I want to add that value to a variable used in a WHERE statement and update the mysql_query (“whatever”).
    Example: When someone clicks on ‘Asus’ and the database is queried with the corresponding WHERE xxx =‘Asus’ , the number of records found goes down from 328 to say 91.

  3. After moving to another tab and clicking on another radio button, I want to retrieve the value associated with that button.

  4. I want to add that value to the previous variable and used in the WHERE statement and again update the mysql_query(“whatever”, “next choice”).

This also implies that the query itself must be embedded in a function to update the list of records from whatever tab one clicks.

I hope you get my drift and can offer some suggestions.

I think you are interested in AJAX. Try googling for it or do a search in these forums, and see if it is what you need.