Dave.
Is this what you mean? In the example below, you won't fall into the while
loop unless you get a row back from the statement handle ($sth).
$dbh = ibase_connect( $connect, $this->login, $this->passwd )
$sth = ibase_query( $sql, $dbh );
while ( $row = ibase_fetch_row ( $sth ) )
{
// do something with $row array
}
HTH
Jeffery Cann
[EMAIL PROTECTED] wrote:
> I have had no success finding a thread on the subject of how to test
> results of a query. I know it can be positive without finding any rows.
> What are the ways to test.
> Dave
>
--
PHP Database 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]