I have searched and read carefully, and for the life of me, I can't find a solution to what seems like a simple problem: I have a search form, and I want to be able to search a certain field in a mySql DB by more than one possible match. For example, assume I have a field called "city" where the name of one city can be stored, and I build the following form:
<input type="checkbox" name="city" value="New York">New York<br>
<input type="checkbox" name="city" value="Los Angeles">Los Angeles<br>
<input type="checkbox" name="city" value="Boston">Boston<br>
I want the user to, in effect, say "Find me someone who lives in either New York or Los Angeles". I should be noted that this form contains more than just a search for "city" - that is for several other variables at the same time.
My hearty thanks to anyone that can help.
- Grayson