#39072 [Opn->Csd]: mysqli_affected_rows has self-conflicting documentation

From: Date: Mon, 22 Jan 2007 02:48:49 +0000
Subject: #39072 [Opn->Csd]: mysqli_affected_rows has self-conflicting documentation
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374962@lists.php.net to get a copy of this message
ID: 39072 Updated by: didou@php.net Reported By: php_bug at incognitox dot org -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: N/A PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2006-10-07 00:20:37] php_bug at incognitox dot org Description: ------------ The current documentation in the PHP5 manual for the function mysqli_affected_rows (currently visible online at http://php.net/mysqli_affected_rows) has the following conflicting information: "For SELECT statements mysqli_affected_rows() works like mysqli_num_rows()." "The mysqli_affected_rows() function only works with queries which modify a table. In order to return the number of rows from a SELECT query, use the mysqli_num_rows() function instead." The former appears to actually be the case. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39072&edit=1

« previous php.doc (#969374962) next »