Use $dbh = ibase_connect ("database", "user", "password", "ISO8859_1",
The extra arguments are needed for any interbase < 6.0
"Maxim Pavlov" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have Interbase 5.5 running on NT box, and the goal is to access it from
> Apache/PHP on Linux box.
> The following code is quite trivial, but in my case it doesn't work. I
> many similar posts searching Internet on that, but did not find an answer.
> $dbh = ibase_connect("douglas.akl1.ru:d:\\path\\lyceum.gdb", "user",
> $stmt = "SELECT * FROM examen;";
> $sth = ibase_query ($dbh, $stmt); <-- problem is here
> All it gives is "Warning: InterBase: Dynamic SQL Error SQL error code
> feature is not supported in /home/maxim/public_html/index.php on line 4"
> Please help!
> Maxim Pavlov
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]