Excluding Data from a Query with PHP

2001-05-14 Thread Kelly Alexander Zia
Hi I've got a question on how to exclude a data from a query. Suppose I have the following query that is being used in combination with a PHP web site: "SELECT * FROM activities WHERE month='$month' AND year='$year'" Now suppose the activities table looks like this: ID username month

PHP query

2001-03-17 Thread Kelly Alexander Zia
Hi, I am having problems with my query trying to call a list of interests. When someone signs up too the site they choose 7 different interests from a list and it can be in any different configuration. I am having a hard time getting it to query, and amy getting this error message: SELECT clien