I plan on doing that but just in case it gets around that check. The MySQL code is 1062 I believe but I have yet to find the other database codes. Does anyone have a good list of those?poyntesm wrote:Why not do a select before the insert? That way you avoid the error.
Perfect, that will work great for me. Thanks!poyntesm wrote:Another option is to log to the administrator error log that an admin can check in the ACP. I think the function is called add_log()