Re: [PHP] SELECT with WHILE NOT

2003-01-25 Thread Andre Dubuc
or NOT IN ('{$_SESSION['sid']}') ORDER by > rsname,rfname,rcountry,rcity DESC LIMIT 20 > > -Original Message- > From: Andre Dubuc [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 26 January 2003 11:28 AM > To: [EMAIL PROTECTED] > Subject: [PHP] SELECT with W

RE: [PHP] SELECT with WHILE NOT

2003-01-25 Thread Sean Malloy
om: Andre Dubuc [mailto:[EMAIL PROTECTED]] Sent: Sunday, 26 January 2003 11:28 AM To: [EMAIL PROTECTED] Subject: [PHP] SELECT with WHILE NOT Hi, Using PostgreSql 7.2 + PHP I am trying to do a SELECT that will choose all records except ones that have a certain id number. I can't seem to get t

[PHP] SELECT with WHILE NOT

2003-01-25 Thread Andre Dubuc
Hi, Using PostgreSql 7.2 + PHP I am trying to do a SELECT that will choose all records except ones that have a certain id number. I can't seem to get the syntax to work. Here's the code: "SELECT * FROM rap WHERE NOT rsponsor = '{$_SESSION['sid']}' ORDER by rsname,rfname,rcountry,rcity DESC