Jeff, you ran my code and had to fix several errors? How did you do this since the code I supplied requires the use of a mySQL database with the same tables that I use?

Wolfe, at the very top of the code, $longDate is defined as $longDate = date("Y-m-d H:i:s"); Maybe this is a multiple http request issue, because the duplicate rows are storing slightly different dates. What causes multiple http requests and how do I get rid of them?

Thanks!