Use     $dbh = ibase_connect ("database", "user", "password", "ISO8859_1",
0, 1);

The extra arguments are needed for any interbase < 6.0
--
Jeremy Bettis
[EMAIL PROTECTED]
"Maxim Pavlov" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> 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
found
> many similar posts searching Internet on that, but did not find an answer.
>
> <?
> $dbh = ibase_connect("douglas.akl1.ru:d:\\path\\lyceum.gdb", "user",
> "password");
> $stmt = "SELECT * FROM examen;";
> $sth = ibase_query ($dbh, $stmt); <-- problem is here
> ..
> ibase_close($dbh);
> ?>
>
>
> All it gives is "Warning: InterBase: Dynamic SQL Error SQL error code
= -901
> 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]

Reply via email to