On Wed, 09 Dec 2009 11:39:55 -0800 Catherine Madsen <cmadsen@xxxxxxxxxxxx> wrote: It looks like you have to take out this line: > $stmt = NULL; /* release the connection */ You are destroying the variable instead of just deleting the data, so the while statement terminates after the first record. -- Simcha Younger <simcha@xxxxxxxxxxxx> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php