Help with search
This might need to be a paid ticket, but am posting here first as it is hopefully not too far off working.
I have a db structure:
Tables:
Itineraries
ItineraryID (PK)
Itinerary
etc
Activities
ActivityID (PK)
Activity
etc
ItineraryActivities
ItineraryID
ActivityID
I am trying to create a search page where people can fill in some standard search fields, and also drill down by checking boxes to return itineraries that have particular activities associated with them.
I have gotten as far as the search with the text fields all working, and the search page is displaying all the activities along with the check boxes.
The search as it currently works will return results where any of the checked activities are a match.
http://www.safaribookers.com/search101/search101.php
What I can't seem to get is where it will return results where all of the checked activities are a match.
I have attached copies of the search and results page - if anyone could have a quick look and point me in the right direction that would be much appreciated.
Thanks.