Okay, problem solved. I've been looking at the code for so long that it was too obvious to see. The "or die" was the culprit. Just a reminder that one should watch cutting and pasting. Thanks to anyone who used any brain time on this. Michael -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php