Currently your list uses the code:
<select class="select filterBy">
It will need a name attribute to refer to it after submit.
<select class="select filterBy" name="filterBy">
Then you can use the $_POST['flterBy'] value in an IF statement and in the search code to do the filter.