Search using values from two dropdown

I have two drop-down on my app and a search button, i want to search the database which contains bus and route information based on the selection on the drop-downs, on is marked “from” and the other drop-down is marked “To”, upon clicking the search the app should display the bus that can cover that route, how do i achieve this?

appe

hi there,
did you ever get a response on this query? I am trying to do something similar with my app and am interested in a possible solution to this question.
Regards,
Gerry