ljbuesch Sun May 27 23:54:57 2007 UTC
Modified files: /phpdoc/en/reference/mysqli/functions mysqli-affected-rows.xml Log: Changed incorrect statement about using this function with SELECT statements. This is a fix for bug#41325. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml?r1=1.23&r2=1.24&diff_format=u Index: phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.23 phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.24 --- phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.23 Sun Jan 28 04:25:57 2007 +++ phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml Sun May 27 23:54:56 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.23 $ --> +<!-- $Revision: 1.24 $ --> <refentry id="function.mysqli-affected-rows"> <refnamediv> <refname>mysqli_affected_rows</refname> @@ -25,9 +25,8 @@ <literal>DELETE</literal> query. </para> <para> - This function only works with queries which modify a table. In order to - return the number of rows from a <literal>SELECT</literal> query, use the - <function>mysqli_num_rows</function> function instead. + For SELECT statements <function>mysqli_affected_rows</function> works like + <function>mysqli_num_rows</function>. </para> </refsect1>