php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #1435 pg_fetch_row does not iterate.
Submitted: 1999-05-21 08:16 UTC Modified: 1999-05-28 07:54 UTC
From: papo at dcentral dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.7 OS: Linux Slakware 3.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: papo at dcentral dot com
New email:
PHP Version: OS:

 

 [1999-05-21 08:16 UTC] papo at dcentral dot com
Hi:

There is no way to iterate using pg_fetch_row, the
function does require to enter the two parameters, 
the $results pointer and the row number.  The only
way to iterate is determining the amount of rows first
and then iterating through them.

I have also used odbc_fetch_row and it lets
you iterate.

Regards,

Luis Anaya

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-28 07:54 UTC] sas at cvs dot php dot net
Where is the problem? Use pg_num_rows to determine the number of returned rows. See http://www.php.net/manual/ref.pgsql.html for more information..
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 22:01:31 2024 UTC