[PHP] Interbase error code = -504 Cursor unknow

2001-03-27 Thread Mauricio Junqueira
Hello, this is my first attempt to query and print a result coming from a database, in this case interbase6. I got the following error: InterBase: Dynamic SQL Error SQL error code = -504 Cursor unknown in maingeral.htm on line 8 Here's the code: ? include("php/header.php");

Re: [PHP] Interbase error code = -504 Cursor unknow

2001-03-27 Thread Mauricio Junqueira
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")){