note 14263 deleted from function.mysql-affected-rows by betz
| From: | betz@php.net | Date: | Wed, 21 Apr 2004 10:18:54 +0000 |
| Subject: | note 14263 deleted from function.mysql-affected-rows by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-68428@lists.php.net to get a copy of this message | ||
Note Submitter: rmichen@coachmen.com
----
Also- it appears that the number of affected rows returned per above in an update query will be the
number whose values were actually changed. So updating a unique record whose value is
"somevalue1" to "somevalue1" will return zero rows affected. Whereas updating a
unique record of "somevalue1" to "somevalue2" will return "1".