Re: Excluding Data from a Query with PHP

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

RE: Excluding Data from a Query with PHP

2001-05-14 Thread Roger Karnouk
SELECT * FROM activities WHERE month='$month' AND year='$year' and username != 'myuen' -Original Message- From: Kelly Alexander Zia [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 1:45 PM To: mySQL Subject: Excluding Data from a Query with PHP Hi

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