note 37237 added to function.mysql-affected-rows
| From: | depontiA_TtiscalinetD0Tit at rn2 dot php dot net | Date: | Fri, 07 Nov 2003 09:52:51 +0000 |
| Subject: | note 37237 added to function.mysql-affected-rows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60062@lists.php.net to get a copy of this message | ||
It works also for REPLACE query,returning:
0 if the record it's already updated (0 record modified),
1 if the record it's new (1 record inserted),
2 if the record it's updated (2 operations: 1 deletion+ 1 insertion)
----
Manual Page -- http://www.php.net/manual/en/function.mysql-affected-rows.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37237
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37237&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37237&report=yes
Search -- http://master.php.net/manage/user-notes.php