Mauricio Junqueira wrote:
> Mauricio Junqueira wrote:
>
>>
>> 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 o
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 ("alert('" . ibase_errmsg() . "'); ")){
$result = ibase_fetch_row($query);
$T
If just comment the following lines, everything works Please help...
I'm getting nut !!
alert('" . ibase_errmsg() .
"'); ");
$stmt = "select count(*) from soldcars";
$query= ibase_query($stmt) or die ("alert('" . ibase_errmsg() . "'); ");
// $result = ibase_fetch_row($quer
Mauricio Junqueira wrote:
>
> 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:
>
>