#33180 [Csd]: doc - mysql_fetch_* lack of info
| From: | rob at endertech dot com | Date: | Wed, 01 Jun 2005 07:49:15 +0000 |
| Subject: | #33180 [Csd]: doc - mysql_fetch_* lack of info | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969368390@lists.php.net to get a copy of this message | ||
ID: 33180
User updated by: rob at endertech dot com
Reported By: rob at endertech dot com
Status: Closed
Bug Type: Documentation problem
Operating System: rhel3
PHP Version: Irrelevant
New Comment:
awesome! thanks
Previous Comments:
------------------------------------------------------------------------
[2005-06-01 09:47:38] vrana@php.net
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.
Sorry, I put it to the wrong Status.
------------------------------------------------------------------------
[2005-05-31 18:15:30] rob at endertech dot com
where do you get that from?
on all the english docs i see:
"Returns ... that corresponds to the fetched row, or FALSE if there
are no more rows."
------------------------------------------------------------------------
[2005-05-31 11:00:13] vrana@php.net
"Returns ... that corresponds to the fetched row and moves the internal
data pointer ahead." by all four functions.
Returning false is already mentioned.
------------------------------------------------------------------------
[2005-05-30 03:10:59] rob at endertech dot com
Description:
------------
my knowledge in the exact manner of these functions is lacking.
however, in the documentation, all of the mysql_fetch_* functions fail
to mention that a call to it moves the internal data pointer ahead once
and returns false if the internal pointer is pointing to a nonexistent
row. this is what allows while($row = mysql_fetch_*($res)) to work.
thank you,
rob
Reproduce code:
---------------
n/a
Expected result:
----------------
n/a
Actual result:
--------------
n/a
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33180&edit=1