I'm considering switching my MySQL tables ID fields into autoincrement fields because I'm running into some problems with duplicate IDs. However, is there a simple way to determine what this ID is on an insert?
If I have to query based on the information I inserted, I'm going to run into problems because some of the records will be the same. I suppose I could insert a date/time with the record, but if I get 2 duplicate records at the same time it could create a problem for me. Any insight into this would be greatly appreciated!!