For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > March 2006 > #36865 [Bgs]: Argument for mysql_affected_rows









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #36865 [Bgs]: Argument for mysql_affected_rows
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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com