php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10803 ifx_fetch_rows()
Submitted: 2001-05-11 03:05 UTC Modified: 2001-10-23 11:40 UTC
From: pgc at sina dot com dot cn Assigned:
Status: Not a bug Package: Informix related
PHP Version: 4.0.4pl1 OS: win2000 ad Chinese
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pgc at sina dot com dot cn
New email:
PHP Version: OS:

 

 [2001-05-11 03:05 UTC] pgc at sina dot com dot cn
$conn=ifx_connect("tjcx@picckfk","jlcx","jlcx2000;
$query="select tjdate from f001 ";
$query.="group by tjdate order by tjdate";
$result=ifx_prepare($query,$conn);
ifx_do($result);
$row=ifx_fetch_row($result,"LAST");
for ($i=1;$i<=10;$i++)
{
$tjdate=$row[tjdate];

echo '$tjdate';
echo "<option value=\"",$tjdate,"\">";
echo $tjdate;
echo '</option>';
$row=ifx_fetch_row($result,"PREVIOUS");
echo ($row);
if ($row==FALSE)
{break;}
}
I get array is ascending,I changed {$row=ifx_fetch_row($result,"LAST");} to {$row=ifx_fetch_row($result,"FIRST");}
But I get same result.
Can you help me!!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-23 11:40 UTC] sniper@php.net
Please ask support questions on the mailing lists:

http://www.php.net/support.php

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 28 10:01:29 2024 UTC