From: [EMAIL PROTECTED] Operating system: Linux Mandrake 7.2 PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: An error in ingres_fetch_object() function An error due to 2 databases connect ion at the same time in functuion ingres_fetch_object() , but all okey in function ingres_fetch_row() <?php $lin0 = ingres_connect (v16,v16,test9); ?? $lin1 = ingres_connect (kpl,kpl,kpl ); ? ?// ################## DO NOT WORK ?? ingres_query ("select * from m01 where id = 87",$lin0); ?? while ($row = ingres_fetch_object($lin0)) { ?? printf ("</>%s|%5.5d|%32.32s|</p>",++$i,$row->id,$row->dir); ?? } ?? ingres_query ("select * from m01 where id = 55",$lin1); ?? while ($row = ingres_fetch_object($lin1)) { ?? printf ("</>%s|%5.5d|%32.32s|</p>",++$i,$row->id,$row->dir); ?? } ?? / / ################## WORK ?? ingres_query ("select * from m01 where id = 87",$lin0); ?? while ($row = ingres_fetch_row($lin0)) { ?? print ( "</>$row[1] $row[2] $row[3] $row[4] $row[5] $row[6]</p>"); ?? } ?? ingres_query ("select * from m01 where id = 55",$lin1); ?? while ($row = ingres_fetch_row($lin1)) { ?? print ( "</>$row[1] $row[2] $row[3] $row[4] $row[5] $row[6]</p>"); ?? } ? ?> ? -- Edit bug report at: http://bugs.php.net/?id=13057&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]