The following query looks the table ids
and return the id
if for example 204720966837 is found.
My question is how can I do the opposite? I want to display the ids of those id that are not found.
SELECT id FROM ids WHERE id IN ('204720966837', '163700377960', '24583115900', '1081617368').
For now I have 204720966837 saved in ids
and this is what it prints. My goal is to print 163700377960, 24583115900, 1081617368
while($assoc = mysql_fetch_assoc($query)) {
echo $assoc['id'];
}
I have tried NOT IN but I get a zero return.