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
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: 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

Add a Patch

Pull Requests

Add a Pull Request

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: Wed Apr 24 02:01:30 2024 UTC