#36865 [Bgs]: Argument for mysql_affected_rows
| From: | janise at hello dot lv | Date: | Sun, 26 Mar 2006 21:17:02 +0000 |
| Subject: | #36865 [Bgs]: Argument for mysql_affected_rows | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969372488@lists.php.net to get a copy of this message | ||
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/function.msql-affected-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