Search/Results Page Problem
I have an Events DB, one table has the parent fields: date_1, date_2, category, event. I then have a second table for id & dates ie 3rd July 2010 till 18th July 2010. Most events have just one date, though a few have more than one. I have created a results page with the parent columns. I have also a search page to search the events based on a date from a dynamic dropdown list. I want it to search for only events on the eg. 7th July 2010 and not any other date. Currently, if I search for all events on the 7th July it also displays the other date eg 6th July because the event is on both dates and I have two table columns date_1 and date_2.
Check out link and do search on 7th July:
search.php
Any help is much appreciated.
Thanks.