Basic help with radio buttons and functions
I have a page, http://ppbm5.com/DB-PPBM5-3.php
which contains several radio button groups in tabbed panels. I can use the alert function to display the clicked button to see the value of the selected button.
I need to use that value to create a WHERE statement to requery a mySQL database in a real-time manner.
For instance:
When clicking on 'Asus' in the Manufacturer panel, I need to modify the query to:
$new_query = $old_query . "Manufacturer LIKE " . "the variable now shown as Asus" . "ORDER BY Total, RPI ASC"
and then:
$Result = mysql_query( $new_query, $mysql)
How do I make this work?
I want to have a situation where the database is requeried everytime a radio button is clicked and updated in real time.
