Bug #1346: ifx_fetch_row problem

From: Date: Fri, 23 Apr 1999 08:02:59 +0000
Subject: Bug #1346: ifx_fetch_row problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-5238@lists.php.net to get a copy of this message
From: mhromada@elas.sk Operating system: Solaris 2.7 PHP version: 3.0.7 PHP Bug Type: Other Bug description: ifx_fetch_row problem $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 -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5238) next »