Bug #10803: ifx_fetch_rows()

From: Date: Fri, 11 May 2001 07:05:17 +0000
Subject: Bug #10803: ifx_fetch_rows()
Groups: php.dev 
Request: Send a blank email to php-dev+get-54824@lists.php.net to get a copy of this message
From: pgc@sina.com.cn Operating system: win2000 ad Chinese PHP version: 4.0.4pl1 PHP Bug Type: Informix related Bug description: ifx_fetch_rows() $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 Bug report at: http://bugs.php.net/?id=10803&edit=1

« previous php.dev (#54824) next »