php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #10104 optional parameter for mysql_fetch_*() to move internal pointer
Submitted: 2001-04-01 19:59 UTC Modified: 2010-12-22 14:38 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: pulstar at mail dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4CVS, 5CVS (2004-04-13) OS: *
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pulstar at mail dot com
New email:
PHP Version: OS:

 

 [2001-04-01 19:59 UTC] pulstar at mail dot com
Suggestions:

Add a new optional parameter in the mysql_fetch_array() function to move the internal pointer to the previous row in the result set. This can also be applyed to another fetch functions that work the same way.

The mysql_data_seek() can also work in a relative method, moving the pointer 'n' rows before the actual row or 'n' rows after it.

I don't know if this is possible, but I think this will be very useful.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-22 14:38 UTC] johannes@php.net
-Status: Open +Status: Bogus -Package: Feature/Change Request +Package: MySQL related
 [2010-12-22 14:38 UTC] johannes@php.net
The "classic" mysql extension won't receive new features.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 20:01:30 2024 UTC