Subject | Re: [firebird-php] ibase_query(): Dynamic SQL Error SQL error code = -901 |
---|---|
Author | Lester Caine |
Post date | 2005-10-02T05:27:28Z |
remusbm_2003 wrote:
ibase_query($dbh, $stmt)
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.
> I have the following code:http://uk.php.net/ibase_query
>
> <?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?
ibase_query($dbh, $stmt)
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.