note 59345 added to function.mysqli-affected-rows
| From: | andrew dot holland at unn dot ac dot uk | Date: | Sat, 03 Dec 2005 21:13:07 +0000 |
| Subject: | note 59345 added to function.mysqli-affected-rows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-99535@lists.php.net to get a copy of this message | ||
im getting an error when doing a second update on the same record in the database.
mysqli_affected_rows() always returns 0 after the first update if you are trying to update the same
record.
ive used the mysql console to perform the same update and that works fine.
anybody got any ideas?
----
Manual Page -- http://www.php.net/manual/en/function.mysqli-affected-rows.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59345
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59345&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59345&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59345&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59345&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59345&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59345&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59345&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59345&report=yes
Search -- http://master.php.net/manage/user-notes.php