Query Based on Mulitple Selections

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
cupaball
Forum Commoner
Posts: 85
Joined: Sun Feb 12, 2006 1:46 pm

Query Based on Mulitple Selections

Post by cupaball »

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?
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Query Based on Mulitple Selections

Post by VladSun »

viewtopic.php?f=2&t=94879 ...
Show us some queries you've made so far and the DB design.
There are 10 types of people in this world, those who understand binary and those who don't
Post Reply