In my website, the user can choose multiple choices from checkboxes in order to narrow down a long list. Simply a method of searching for what they want.
Right now I am using a form with the checkboxes and a submit button. What I would like to know is… how I can figure out which checkboxes the user chose, and send that information (in the form of variables) to a new page?
ie.
what type of movies do you like?
[*] Action [*] Horror [ ] Romance (Submit)
In submitting this I would like to use either of the following:
a variable for each checked item…
movieType1 = Action;
movieType2 = Horror;
or… an Array for the checked items
movieTypes = Array();
movieTypes = {“Action”,”Horror”};
Any ideas on how to acquire variables of this sort for use in another page?