Hi,
I'd like to ask a follow up question with something related to the topic.
I have a drop down menu where multiple options can be selected or no options can be selected.
IE.
Select State.
Visitor Can Not select anything.
Visitor Can select ONE option.
Visitor can select AS MANY as he wishes.
How would I do a search with the input from the MULTIPLE SELECT FORM?
I can handle everything before the following line.
$query = "SELECT * FROM table WHERE ... ORDER BY id";
I can handle everything after the following line.
Now, what i need help with is the "WHERE ... " part.
I can do a standard one with just 1 value (WHERE state = '$state')
But, in this form, there will either be NO STATES, ONE STATE OR MANY STATES.
Can someone please help me?
Thanks,