set your dropdowns to a value of 'any' for when they don't pick a value, then start your query...
if (drop1 == any) && (drop2 == any)
query = whatever
elseif (drop1 == any) && (drop2 !== any)
query = whatever
elseif (drop1 !== any) && (drop2 == any)
query = whatever
elseif (drop1 !== any) && (drop2 !== any)
query = whatever
your queries grow geometrically so if you have 5 drop downs you need to write out 32 queries - stick to two, trust me!
hope this helps