Miko Posted August 3, 2009 Share Posted August 3, 2009 hello, I'm creating a form where there are a few radio buttons and checkboxes. I have a MySQL database, in there there is a table with "Main Categories" and another table for "Sub Categories". Now the radio buttons are for the main categories and the checkboxes for the sub categories. The goal is that when a user goes to the page that has the form he should see first the radio buttons with the main categories, once he have selected one of those the checkboxes with the sub categories should be shown below. To get the data from the mysql db I'm using PHP scripting, there is no problem, my script works, but it is the java part that I'm stuck now Does anyone knows how I must code the above 'function'? Thanks! Quote Link to comment Share on other sites More sharing options...
haku Posted August 3, 2009 Share Posted August 3, 2009 To get the data from the mysql db I'm using PHP scripting, there is no problem, my script works, but it is the java part that I'm stuck now This is javascript help, not java. Quote Link to comment Share on other sites More sharing options...
Mardoxx Posted August 3, 2009 Share Posted August 3, 2009 http://www.zimmertech.com/tutorials/javascript/22/interactive-hidden-forms-tutorial.php but just get your form data from mysql Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.