Since ibase_query returns true if the query succeeds I've tried this, but
with the same problem with ibase_fetch_row:
$stmt = "select count(*) from soldcars";
if ($query = ibase_query($stmt) or die ("<script
language='javaScript'>alert('" . ibase_errmsg() . "'); </script>")){
$result = ibase_fetch_row($query);
$TOTSOLD = $result[0];
ibase_free_result($query);}
--
PHP General 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]