I'm trying to connect to an Interbase (well, Firebird) database using the following:
<?php
include('adodb/adodb.inc.php');
include('adodb/tohtml.inc.php');
$conn = &ADONewConnection('ibase');
$connectedok = $conn->connect('localhost:c:\phptest.gdb', 'sysdba', 'masterkey');
$resultset = $conn->execute('select * from "Test";');
rs2html($resultset);
$conn->close();
?>
But I get:
Warning: Use of undefined constant IBASE_DEFAULT - assumed 'IBASE_DEFAULT' in c:\inetpub\wwwroot\adodb\adodb.inc.php on line 1435
Fatal error: Call to undefined function: ibase_timefmt() in c:\inetpub\wwwroot\adodb\adodb-ibase.inc.php on line 28
Can someone help???
Thanks,
John
<?php
include('adodb/adodb.inc.php');
include('adodb/tohtml.inc.php');
$conn = &ADONewConnection('ibase');
$connectedok = $conn->connect('localhost:c:\phptest.gdb', 'sysdba', 'masterkey');
$resultset = $conn->execute('select * from "Test";');
rs2html($resultset);
$conn->close();
?>
But I get:
Warning: Use of undefined constant IBASE_DEFAULT - assumed 'IBASE_DEFAULT' in c:\inetpub\wwwroot\adodb\adodb.inc.php on line 1435
Fatal error: Call to undefined function: ibase_timefmt() in c:\inetpub\wwwroot\adodb\adodb-ibase.inc.php on line 28
Can someone help???
Thanks,
John