Subject | ibase_query(): Dynamic SQL Error SQL error code = -901 |
---|---|
Author | remusbm_2003 |
Post date | 2005-10-01T22:52:51Z |
I have the following code:
<?php
$host = 'localhost:/C:/Program Files/Firebird/Firebird_1_5/
examples/EMPLOYEE.FDB';
$dbh = ibase_connect($host,"sysdba","masterkey");
echo $dbh;
$stmt = "SELECT * FROM country";
$sth = ibase_query($stmt);
while ($row = ibase_fetch_object($sth)) {
echo $row->country, "\n";
}
ibase_free_result($sth);
ibase_close($dbh);
?>
and the following error
Warning: ibase_query(): Dynamic SQL Error SQL error code = -901
feature is not supported
Can anyone help me to find where is the problem?
<?php
$host = 'localhost:/C:/Program Files/Firebird/Firebird_1_5/
examples/EMPLOYEE.FDB';
$dbh = ibase_connect($host,"sysdba","masterkey");
echo $dbh;
$stmt = "SELECT * FROM country";
$sth = ibase_query($stmt);
while ($row = ibase_fetch_object($sth)) {
echo $row->country, "\n";
}
ibase_free_result($sth);
ibase_close($dbh);
?>
and the following error
Warning: ibase_query(): Dynamic SQL Error SQL error code = -901
feature is not supported
Can anyone help me to find where is the problem?