Bug #10803 Updated: ifx_fetch_rows()
| From: | sniper@php.net | Date: | Tue, 23 Oct 2001 15:40:27 +0000 |
| Subject: | Bug #10803 Updated: ifx_fetch_rows() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68847@lists.php.net to get a copy of this message | ||
ID: 10803
Updated by: sniper
Reported By: pgc@sina.com.cn
Old Status: Open
Status: Bogus
Bug Type: Informix related
Operating System: win2000 ad Chinese
PHP Version: 4.0.4pl1
New Comment:
Please ask support questions on the mailing lists:
http://www.php.net/support.php
Previous Comments:
------------------------------------------------------------------------
[2001-05-11 03:05:17] pgc@sina.com.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!!
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=10803&edit=1