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
https://forums.phpfreaks.com/topic/168625-javascript-php/
Share on other sites

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.