I am trying to set up an If Else statement which decides which MYSQL query to use depending on the values submitted in a form.
The problem I am having is that no matter which values I send in the form, even if they are not ALL, only the first query gets called ever.
Here is my code:
 if($department = 'ALL' && $property_type = 'ALL')
 } elseif ($department = 'ALL'){
 
     
    