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.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php