note 23511 deleted from function.mysql-affected-rows by sniper

From: Date: Sun, 28 Jul 2002 00:40:49 +0000
Subject: note 23511 deleted from function.mysql-affected-rows by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-33743@lists.php.net to get a copy of this message
mysql_affected_rows is not documented to work with REPLACE INTO. It would seem that this is intentional, as it is currently telling me that 2 rows have been affected... in a table that only has one row in it. Further, the row shouldn't be changing at all, near as I can figure, if I've got the REPLACE doing what I think it's doing. A bit hard to tell, when mysql_affected_rows is clearly not doing what I, the naive user, expected for REPLACE INTO. YMMV.

« previous php.notes (#33743) next »