I've got a php script that generates text boxes to input search keywords but what i want to do is to have a drop down menu that when a user selects a name, for example, and then clicks the submit button the script will search all the rows that have that name.
I know how to generate the drop down, but how do i pass the selected name to the sql query?