Dropdown menu and extracting values from dropdown and using them in
query