RE: [PHP] MySQL update

From: Date: Tue, 24 Feb 2004 15:48:08 +0000
Subject: RE: [PHP] MySQL update
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-178712@lists.php.net to get a copy of this message
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

« previous php.general (#178712) next »