I have some checkboxes for each movie genre. Each checkbox (movie genre) comes from the db, so there is one checkbox for each movie genre.
<input type='checkbox' name='movieGenre[]' value='Comedy'>Comedy/>
<input type='checkbox' name='movieGenre[]' value='Action'>Action/>
...
The user can select 1 or more checkboxes and then click in a button "Show" and it should be displayed a table with movies associated with the movie genres checked.
However, to achieve this is necessary to verify which checkboxes are checked and do a query to show only the movies that are associated with the selected checkboxes (movie genres). Do you know what is necessary for this?