Query Based on Mulitple Selections
Posted: Mon Feb 09, 2009 7:54 am
This calendar website is going to drive me to drink.
I am creating a website that list events. When the user visits the events page, it list all events equal to or greater than the current date (and I got that to work using a function). What I can't wrap my head around is how can I have result show based on the some of the drop down menu list or one of the drop down list. For example, currently I have a day of the week and event type (and will be adding date), how can I can have results show based on day of week and event type, or just by date?
My example of what I have is http://www.looking4ambiance.com/beta/events.php
I hope that was clear. Also, should it create a seperate page or funtion?
I am creating a website that list events. When the user visits the events page, it list all events equal to or greater than the current date (and I got that to work using a function). What I can't wrap my head around is how can I have result show based on the some of the drop down menu list or one of the drop down list. For example, currently I have a day of the week and event type (and will be adding date), how can I can have results show based on day of week and event type, or just by date?
My example of what I have is http://www.looking4ambiance.com/beta/events.php
I hope that was clear. Also, should it create a seperate page or funtion?