#36865 [Opn->Bgs]: Argument for mysql_affected_rows

From: Date: Sun, 26 Mar 2006 18:34:35 +0000
Subject: #36865 [Opn->Bgs]: Argument for mysql_affected_rows
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969372483@lists.php.net to get a copy of this message
ID: 36865 Updated by: bjori@php.net Reported By: janise at hello dot lv -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: Windows PHP Version: Irrelevant New Comment: MySQL != mSQL mysql_affected_rows() takes (optionally) link identifier (mysql_connect()). msql_affacted_rows() takes result set (msql_query()). Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc (#969372483) next »