note 90553 deleted from function.mysql-affected-rows by danbrown
| From: | danbrown@php.net | Date: | Tue, 28 Apr 2009 01:47:31 +0000 |
| Subject: | note 90553 deleted from function.mysql-affected-rows by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-153870@lists.php.net to get a copy of this message | ||
Note Submitter: dantebbs at tebbs dot org
----
David kindly pointed out to me why my code here wasn't working. It turns out that I didn't
read the manual carefully enough.
mysql_num_rows takes a resource resulting from a call to mysql_query.
mysql_affected_rows takes a resource resulting from a call to mysql_connect.
So, the code example here is completely bogus, please disregard it.
-Dan