Re: IntraBase results in PHP4.02

From: Date: Tue, 05 Sep 2000 15:37:25 +0000
Subject: Re: IntraBase results in PHP4.02
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2618@lists.php.net to get a copy of this message
At 17:15 5-9-00 +0200, Arne Borkowski (borko.net) wrote:
Hi there InterBase/PHP4 users, (all others also of course), how do you distinguish that a result from something like
        $hstm = ibase_query($hdb, $sql);
returns a valid "resource identifier" at all? I mean before you pass it on to ibase_num_fields or any thing else. I don't have a clue and PHP4 docs do not seem to tell me. Cheers, Arne
This returns false if the query fails, true if the query succeeds but there is no result value, or a resource identifier (suitable for passing to ibase_fetch_row()) if there are results. and take a look @ is_resource Greetz, Wico
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.db (#2618) next »