PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
//check if we have values from our dropdowns
if() + !empty()
+
//populate key/value pair for query
$queryargs = array(
'arg1' => $_POST['your_first_dropdown'],
'arg2' => $_POST['your_second_dropdown']
);
+
//create our query string with the above array
http_build_query()
+
//create your $url variable with the domain and the query string, and issue a redirect
header('Location: '. $url);
Alternatively, you could just name the dropdown's arg1 and arg2 respectively, set the form method to GET, and point the form action to the domain/path you want, and it will basically achieve the exact same result (but you won't have control to validate the request server side).