I've built an html search page that passes the search terms to a results.php page. Down the side of the results page is a "refine search" form with numerous dropdowns to refine the search.
I'm trying to figure out how to change out the query so that when someone chooses an option to refine their results, it changes the query to include a search of the relevant table and column they want to narrow by.
Can I replace just the query in my script with an include to a separate php file that has several " if else" statements to drop the correct query in? I'm thinking then I can have the form submit its info to that 2nd php file. (I know, it sounds like Ajax, but I don't know anything about Ajax... and it's slightly frightening! hah!)