How do i write a code that builds a mysql query depending on what values drop lists have?
If nothing is chosen in a drop list, then the drop list value is 001 so then the query should not include this drop list in the search!
Please help...
I have this so far:
foreach($_GET as $key => $value) {
if ($value != '001') {
Do something smart...like add to a query...
}
}