[PHP-DEV] Bug #10358 Updated: InterBase module From: ab <email protected>
Date: 04/17/01

ID: 10358
Updated by: ab
Reported By: n.chansard <email protected>
Old-Status: Open
Status: Bogus
Bug Type: IIS related
PHP Version: 4.0.4pl1
Assigned To:
Comments:

Does this
$ib_result = ibase_query(0, $ib_query);
correct? Seems that there should be $ib_link instead 0.
If this isn't typo, re-open bug.

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

[2001-04-17 03:42:03] n.chansard <email protected>
It appears that the connection is good (no msg of warning or errors) but the function ibase_query() gives a warning like:

InterBase module: 0 is not link or transaction index

source:

        <?
                $ib_link = ibase_connect("\\SPDCCPI01C:_BASESINTRANET.GDB", "SYSDBA", "ib") || die(exit());
                print ("IB_LINK : $ib_link<BR>n");
                $ib_query = "select * from servic";
                print ("IB_QUERY : $ib_query<BR>n");
                $ib_result = ibase_query(0, $ib_query);
                ibase_close();
        ?>

I can't do less... heelp!

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

ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10358&edit=2

-- 
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>