Bug #1346 Updated: ifx_fetch_row problem

From: Date: Sun, 16 Jun 2002 12:30:31 +0000
Subject: Bug #1346 Updated: ifx_fetch_row problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10620@lists.php.net to get a copy of this message
ID: 1346 Updated by: sander@php.net Reported By: mhromada@elas.sk -Status: Open +Status: Bogus Bug Type: Other Operating System: Solaris 2.7 PHP Version: 3.0.7 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately, PHP 3 is no longer supported. Please download the latest version of PHP 4 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: ------------------------------------------------------------------------ [1999-04-23 04:02:59] mhromada@elas.sk $conn=ifx_connect(peterk); if (!$conn) { echo "An error occured.\n"; exit; } $vyber="select * from cisdo"; $result = ifx_query ($vyber,$conn); if (!$result) { if (!$conn) { echo "An error occured.\n"; exit; } $vyber="select * from cisdo"; $result = ifx_query ($vyber,$conn); if (!$result) { echo "An error occured.\n"; exit(); } $row = ifx_fetch_row ($result,"5"); for($row; $fieldname=key($row); next($row)) { echo "$fieldname = "; printf ("%s <BR>\n",$row[$fieldname]); } Problem ifx_fetch_row does not accepts number as absolute position of row in $result nor LAST Do automaticly next in all cases ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=1346&edit=1

« previous php.bugs (#10620) next »