| janise at hello dot lv 2006-03-26, 6:57 pm |
| ID: 36865
User updated by: janise at hello dot lv
Reported By: janise at hello dot lv
Status: Bogus
Bug Type: Documentation problem
Operating System: Windows
PHP Version: Irrelevant
New Comment:
OK, sorry, I searched for "mysql affec" and clicked on the first match.
Previous Comments:
------------------------------------------------------------------------
[2006-03-26 20:34:26] bjori@php.net
MySQL != mSQL
mysql_affected_rows() takes (optionally) link identifier
(mysql_connect()).
msql_affacted_rows() takes result set (msql_query()).
------------------------------------------------------------------------
[2006-03-26 20:27:10] janise at hello dot lv
Description:
------------
On this page:
http://www.php.net/manual/en/functi...fected-rows.php
the argument is explained as the result resource (returned by
"mysql_query"). But for me it didn't work; instead it worked if I gave
the mySQL link identifier (returned by "mysql_connect").
I see that this bug has been explained already to solutions (now when I
try to submit), but the documentation is still wrong.
Thanks!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36865&edit=1
|