Jump to content

More than one exclusion from the SELECT statement


crmamx

Recommended Posts

I cannot find the right combination to include more than one exclusion from the SELECT, that is more than one WHERE !=.

 

$result = mysql_query("SELECT * FROM members WHERE last !='neville' Order By last") or die(mysql_error());  

if (!$result) {
    die("Query to show fields from table failed");
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.