#10416 [Opn->Bgs]: Fetch_cursor return second record not first.
| From: | kalowsky@php.net | Date: | Wed, 14 Aug 2002 02:47:19 +0000 |
| Subject: | #10416 [Opn->Bgs]: Fetch_cursor return second record not first. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16691@lists.php.net to get a copy of this message | ||
ID: 10416
Updated by: kalowsky@php.net
Reported By: tomasz.fadrowski@dtcentrum.com
-Status: Open
+Status: Bogus
Bug Type: Oracle related
Operating System: WINNT, WIN98, Aix
PHP Version: 4.0.4pl1
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2001-04-20 04:26:03] tomasz.fadrowski@dtcentrum.com
When I try display records from cursor connected to oracle by function
"Ora_logon" my results of all records display from second to last rows
- not display first row.
Simple code :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<?php
PUTENV("ORACLE_HOME=D:\\ORANT\\");
$CONNECTION=Ora_logon("user/password@db","");
$SQL="SELECT rownum, artean13, artlibl FROM artdgene";
$CURSOR=ORA_DO($CONNECTION,$SQL);
WHILE(ORA_FETCH($CURSOR))
{
PRINT(ORA_GETCOLUMN($CURSOR,0));print("
");print(ORA_GETCOLUMN($CURSOR,1));print(ORA_GETCOLUMN($CURSOR,2));
print("<BR>");
}
ORA_CLOSE($CURSOR);
ORA_LOGOFF($CONNECTION);
?>
</body>
</html>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=10416&edit=1