RE: [PHP] Mysql Query Help needed

From: Date: Thu, 16 May 2002 11:54:24 +0000
Subject: RE: [PHP] Mysql Query Help needed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97895@lists.php.net to get a copy of this message
[snip] "select cust_fnn, cust_name, agroup_access.group_access_cust from cust, agroup_access where agroup_access.group_access_group='$id' && cust.cust_fnn!=agroup_access.group_access_cust order by cust.cust_name" [/snip] try this (note syntactical differences); "select cust_fnn, cust_name, agroup_access.group_access_cust from cust, agroup_access where agroup_access.group_access_group = '$id' and cust.cust_fnn <> agroup_access.group_access_cust order by cust.cust_name" HTH! Jay

« previous php.general (#97895) next »