Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.12.3

Request #1049 reset result row-pointer
Submitted: 2004-03-22 04:37 UTC
From: webmaster at learningmedia dot co dot nz Assigned:
Status: Wont fix Package: DB
PHP Version: 4.3.2 OS: Mac OS X (10.3)
Roadmaps: (Not assigned)    
Subscription  


 [2004-03-22 04:37 UTC] webmaster at learningmedia dot co dot nz
Description: ------------ I would like to request the addition of a method to the DB_Result class that would reset the result row-pointer. This would allow the reuse of a $DB_Result. Other people would seem to support this request: http://forums.devshed.com/archive/t-50614 [Other row-pointer manipulations (eg. next, prev., last, etc.) may also be helpful.] Regards James Robertson

Comments

 [2004-03-22 05:06 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-03-24 12:39 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-09-20 16:21 UTC] php at adaniels dot nl
This also ins't a good enough solution, when you have a general purpose function looping a result. Fetching row zero before calling the function, will make it start with the second row. So I would still love to see a reset result pointer mehod. (Please reply if I havn't made myself clear)
 [2006-03-11 10:18 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!