#39072 [NEW]: mysqli_affected_rows has self-conflicting documentation
| From: | php_bug at incognitox dot org | Date: | Sat, 07 Oct 2006 00:20:37 +0000 |
| Subject: | #39072 [NEW]: mysqli_affected_rows has self-conflicting documentation | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969374164@lists.php.net to get a copy of this message | ||
From: php_bug at incognitox dot org
Operating system: N/A
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: mysqli_affected_rows has self-conflicting documentation
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 bug report at http://bugs.php.net/?id=39072&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39072&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39072&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39072&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39072&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39072&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39072&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39072&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39072&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39072&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39072&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39072&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39072&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39072&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39072&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39072&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39072&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39072&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39072&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39072&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39072&r=mysqlcfg