note 14263 added to function.mysql-affected-rows.php

From: Date: Tue, 24 Jul 2001 17:20:19 +0000
Subject: note 14263 added to function.mysql-affected-rows.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15773@lists.php.net to get a copy of this message
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". http://www.php.net/manual/en/function.mysql-affected-rows.php

« previous php.notes (#15773) next »