Jump to content

javascript & php?


Miko

Recommended Posts

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!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.