Read all records except specified ...
Posted: Thu Jul 27, 2006 8:03 pm
I want to read all records in the DB excluding a specified value contained in a field called 'host' in the following query, with a supplied value e.g.: '$ip_adress':
Code: Select all
$query_myStats = "SELECT * FROM myStats WHERE `no` > 1 ORDER BY `no` DESC";