Chris wrote: ---- You can put together WHERE statements with an AND or an OR. For instance, "SELECT id FROM users WHERE id='2' OR id='3'" You know, if you had a few suspicions about this sort of thing you could always give it a spin in a Query. Worst case scenario is you will get an error. - Chris ---- Thanks Chris, the help is mostly appreciated. I have got the code to skip emails that are flagged with a y vlaue in emailerror field. :) Thanks again. Jerry http://personals.yahoo.com.au - Yahoo! Personals New people, new possibilities. FREE for a limited time. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php