note 12746 deleted from function.mysql-affected-rows by irc-html
| From: | irc-html@php.net | Date: | Wed, 02 Jan 2002 05:13:17 +0000 |
| Subject: | note 12746 deleted from function.mysql-affected-rows by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24188@lists.php.net to get a copy of this message | ||
Note well! The actual argument you should pass to this function is a LINK IDENTIFIER and (unlike
mysql_num_rows) NOT a resultset. I think many people probably get this wrong, and dont realise
because mysql_affected_rows will still work off the last call to a mysql_connection if no argument
is supplied. However, you will eventually find problems, as I have done! So either supply no
argument, or a link identifier.