I am prepared to be wrong (but I'm too lazy to go and try it)... does MySql return a detailed enough error message to detect *which* field caused the problem. IIRC, I don't think it does.
Anyway *if* it does it will be in here... http://www.mysql.com/doc/en/Error-returns.html DUP UNIQUE I guess. HM Jay Blanchard wrote: > [snip] > How can I improve on the above to give specific error information. > [/snip] > > > Use mysql_error() http://www.php.net/mysql_error -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php