I have a php script thats does inserts and for some reason now and then it will insert the same record 10 or 15 times. I think that it times out before it finishes and starts over. My question is how do I delete 9 out of 10 identical records so that I keep the one that was supposed to get inserted and delete then 9 others that weren't supposed to get inserted.