From:             taylor dot ren at gmail dot com
Operating system: XP
PHP version:      5.2.0
PHP Bug Type:     InterBase related
Bug description:  Cannot fetch any row

Description:
------------
I installed PHP with IIS and opened InterBase ext. 

1. IB is OK. I can run separately developed Win32 programs. 
2. PHP is OK. I can load a PHP test file with as simple as phpinfo();
3. ibase_XXXX functions seems OK because there is no error message
prompted. 
4. Database/table name OK. 

PHP Interbase script:


Tried in Firefox & IE6. 


Reproduce code:
---------------
<body>
<?php
$connection = ibase_connect('localhost:f:/data/test.ib', 'tr', 'enigma',
'gb_2312');

$sql='select * from t1';
$result=ibase_query($connection, $sql);
while($row=ibase_fetch_object($result))
{
        echo (int)$row->id1, "\n";
}
ibase_free_result($result);
ibase_close($connection);
?>
End of statement. 

</body>

Expected result:
----------------
I am expecting something like: 
1
2


Actual result:
--------------
but only the last HTML statement: 

"End of statement" was displayed. 



-- 
Edit bug report at http://bugs.php.net/?id=39494&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39494&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39494&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39494&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39494&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39494&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39494&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39494&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39494&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39494&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39494&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39494&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39494&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39494&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39494&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39494&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39494&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39494&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39494&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39494&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39494&r=mysqlcfg

Reply via email to