note 23513 added to function.mysql-affected-rows
| From: | ceo at l-i-e dot com | Date: | Sat, 20 Jul 2002 01:04:56 +0000 |
| Subject: | note 23513 added to function.mysql-affected-rows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33329@lists.php.net to get a copy of this message | ||
NEVER MIND!
RTFM at http://mysql.com
REPLACE INTO will DELETE a row and INSERT another, so two rows are affected.
INSERT IGNORE is the one I wanted to use -- I always somehow think REPLACE INTO ought to do what
INSERT IGNORE does, I guess.
--
http://www.php.net/manual/en/function.mysql-affected-rows.php
http://master.php.net/manage/user-notes.php?action=edit+23513
http://master.php.net/manage/user-notes.php?action=delete+23513
http://master.php.net/manage/user-notes.php?action=reject+23513