PHP MySQL Search two keywords
Hi
I have set up a room style selector. Each of these rooms have two keywords that explains the type of style it is designed in - hope this makes sense
The database has been set up like this:
RoomName Keyword1 Keyword2
room1 abc xyz
room2 efg abc
room3 xyz rst
I have put the keywords in one checkbox group from which people can select two checkboxes. When they click submit the matching room will appear. (matching both keywords)
I can search for one keyword and display the results......
How can I search for both of the keywords and display the results? ....how can I do this with one checkbox group?
I hope this makes sense! hope someone help! ![]()
Many thanks...
