douplicate entry
| From: | Andy | Date: | Thu, 29 Aug 2002 07:06:13 +0000 |
| Subject: | douplicate entry | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-21440@lists.php.net to get a copy of this message | ||
Hi guys,
I have a community site running, where members can upload images of
themselves. The images are stored inside blobs of a mysql db.
Now sometimes -no clue how they do it- it happens that I get an errormsg
saying douplicate entry for bla.jpg
I guess they do press the upload button twice or something similar. Of
course there is a unique index on the column.
My question is how to prevent this error?
Thank you for any help on this.
Andy