checking if a MySQL update worked

From: Date: Mon, 30 Sep 2002 16:23:15 +0000
Subject: checking if a MySQL update worked
Groups: php.general 
Request: Send a blank email to php-general+get-118226@lists.php.net to get a copy of this message
Hi All, mysql_affected_rows() returns zero if you update without changing the data in a database record. How do you tell the difference betwix "it worked but nothing changed" as opposed to "it didn't work"? TIA Henry

« previous php.general (#118226) next »