Hello,
I have a page which queries MySQL and displays a list of screening locations. I want the user to be able to select from a dropdown menu and sort the list by location city, meaning if they choose "City A", only locations in City A will appear on the page and the others go away. Same with "City B" Etc. Etc.
What's the simplest way to go about doing this? Would I use an if, else statement? I can't seem to figure it out.
Thank you!!
Sam
I have a page which queries MySQL and displays a list of screening locations. I want the user to be able to select from a dropdown menu and sort the list by location city, meaning if they choose "City A", only locations in City A will appear on the page and the others go away. Same with "City B" Etc. Etc.
What's the simplest way to go about doing this? Would I use an if, else statement? I can't seem to figure it out.
Thank you!!
Sam