> > Yes, debug your code and figure out why it's looping twice instead. > For instance, try the other query in the mysql console. > Thank you! It was the first query. I put a LIMIT 1 on it and now it is working correctly. I appreciate your help! Thank you, Chris -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php