I want to get all the results but the ones in the array $valuesnew.
$query = "SELECT * FROM venue
WHERE venue_id IN ($valuesnew)";
Is there a fast way to do this?
select * from table where column NOT IN ('value1','value2','value3');
$valuesnew, so it may lead to SQL injections if you don't know what is actually in $valuesnew. Although it's not sufficient to secure the query...
$valuesnewcontain string or is numeric ?