Hey all,
I'm pulling my hair out. This seemed so simple.
I have a form on page1.php that has 2 arrays built w multiple checkboxes each - I need this form, when posted to page2.php, to select and display from the db where any of the first array conditions are met AND where any of the second are met as well. This is what I have - not working. grimace
SELECT * FROM table_name WHERE a_id = '$checkbox1[$i]' AND b_id = '$checkbox2[$i]'
How do I use the above code to show the selected multiple results?
Thanks in advance...