For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > May 2005 > #33180 [Opn->Fbk]: doc - mysql_fetch_* lack of info









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #33180 [Opn->Fbk]: doc - mysql_fetch_* lack of info
vrana@php.net

2005-05-31, 9:00 am

ID: 33180
Updated by: vrana@php.net
Reported By: rob at endertech dot com
-Status: Open
+Status: Feedback
Bug Type: Documentation problem
Operating System: rhel3
PHP Version: Irrelevant
New Comment:

"Returns ... that corresponds to the fetched row and moves the internal
data pointer ahead." by all four functions.
Returning false is already mentioned.


Previous Comments:
------------------------------------------------------------------------

[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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com