I have an array with items in it. I want to select items that are not in this array from a database...
First i imploded it
$items = implode(', ',$items_array);
Then I have my query...
$sql_display="SELECT * FROM `$table_available`".
" WHERE `quotas_catid` NOT IN ('$available_products')".
" AND `userid` = '$username'".
" LIMIT 2";
but it is still bringing up results in the $items_array :bemused: