start your WHERE clause with
then for each option selected by the user, append an AND condition
if no options are selected, then 1=1 returns all rows
if two options are selected, then the query looks like this --
AND bac.ba_Status = '$avail'
AND b.section_Id = '$sec'
please note, you should be using INNER JOINs not LEFT JOINs