Hi
I want to select evrything from a table except certain values, say i have:
ID: item
1: ball
2: fridge
3: new
4: help
I want it to select 2, 3 andbut not 1. Obviously think of this database on a much larger scale.
Something like:
$var = 1;
SELECT * FROM db WHERE ID != '$var'
but this doesn't work, or:
SELECT * FROM db WHERE ID IS NOT '$var'
Any help is much appreciated
Ant