[PHP-DEV] PHP 4.0 Bug #6723 Updated: Not valid interbase link From: Bug Database (php-dev <email protected>)
Date: 09/22/00

ID: 6723
User Update by: gpf <email protected>
Status: Open
Bug Type: InterBase related
Description: Not valid interbase link

The documentation is wrong: the two parameters must be exchanged, so it reads:
$sth=ibase_query($stm, $dbh);

Previous Comments:
---------------------------------------------------------------------------

[2000-09-13 18:59:16] gpf <email protected>
$dbh=ibase_pconnect("ib:d:sh.gdb", "SYSDBA","masterkey");
$stm="select * from rating";
$sth=ibase_query($dbh,$stm);
...

result:
Warning: 0 is not a valid InterBase link resource in d:inetpubwwwrootshaa.php3 on line 5
PHP has encountered an Access Violation at 405425D5

this script is working normaly:
$dbh=ibase_pconnect("ib:d:sh.gdb", "SYSDBA","masterkey");
$stm="select * from rating";
$sth=ibase_query($stm);
.....

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=6723

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>