multiple input search
-
Hey,
I’ve been scratching my head the past days and getting quite desperate for a solution.
I’m trying to build a search from 2 user inputs. This is the code I currezntly have:
[Code moderated as per the Forum Rules. Please use the pastebin]
However! This outputs:
?s=TYPED_IN_THE_INPUT_BOX&s=SELECTED_IN_DROPDOWNthis ofcourse only searches for the last &s= in the url, so the input text is completely ignored…
the following search url works however:
?s=TYPED_IN_THE_INPUT_BOX&SELECTED_IN_DROPDOWNSo dropping the s= from the search url filters my posts perfectly.. But I can’t find a way to build such a search query… I’ve been googeling and reading tutorials for days now, and can’t seem to find anything.
Any ideas? Thanks so much in advanced
The topic ‘multiple input search’ is closed to new replies.