note 14192 added to function.mysql-affected-rows.php
| From: | omid at lostland dot com | Date: | Fri, 20 Jul 2001 23:05:23 +0000 |
| Subject: | note 14192 added to function.mysql-affected-rows.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15630@lists.php.net to get a copy of this message | ||
Yes, mysql_affected_rows works with a SELECT query -- can I base all my scripts on that... Or is
this a bug that PHP will correct in the future- and therefore ruin the scripts of all the people who
already use mysql_affected_rows for select..
My suggestion: leave it as is, point mysql_num_rows to the mysql_affected_rows function as a whole.
http://www.php.net/manual/en/function.mysql-affected-rows.php