I have several checkboxes and menus to filter but I don't know how to do the filtering with the checkboxes in sql:
This is for example what you get in the URL:
index2.php?status=active%26amp;checkbox4=on%26amp;checkbox8=on
This is my sql:
$col1_master1canteen = ''-1'';
if (isset($_GET['status'])) {
?$col1_master1canteen = $_GET['status'];
}
...
and then..
...
SELECT * FROM canteen WHERE c_status = %s AND ??
Thank you for any further help!
filter with checkboxeshttp://forums.adobe.com/thread/451266
No comments:
Post a Comment