Subject [firebird-php] ibase_query(): Dynamic SQL Error SQL error code = -901
Author Remus Varga
thank you for response

but with ibase_query($dbh, $stmt) I receive the same
error

--- Lester Caine <lester@...> wrote:

> remusbm_2003 wrote:
>
> > 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?
>
> http://uk.php.net/ibase_query
> ibase_query($dbh, $stmt)
>
> --
> Lester Caine
> -----------------------------
> L.S.Caine Electronic Services
> Treasurer - Firebird Foundation Inc.
>




__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com