So I have an array of id values that I don't want to echo that I know are in the table... stored in a variable $id_array... let's say there's three...
When I go to query the table for all the id's how do I remove the id's from $id_array before printing my links?
//query db.table for all id's
//but first remove id's from $id_array....
while ($login = mysql_fetch_array($logins_set)) {
echo '<option value=' . $login['id'] . ' > ' . $login['name'] .' </option>';
}
I've tried using unset - and I think that would work if my query were already a complete array?... but I'm using a while loop... ?
Thanks much