Dear Support,
I am new to Kool Report and just purchased the Kool Report Pro Modules. We want to connect to Firebird database but simply getting a General HTTP ERROR 500 Error I need help about how to connect to Firebird database. I may be missing a few lines in my php.ini or a few dll files.
Here is my code
<?php
require_once "../koolreport/autoload.php";
class EmployeeList extends \koolreport\KoolReport
{
function settings()
{
return array(
"dataSources"=>array(
"mydata"=>array(
'connectionString' => 'firebird:host=localhost;dbname=C:\Data\TEST.GDB',
'username' => 'sysdba',
'password' => 'masterkey',
'charset' => 'utf8',
)
)
);
}
function setup()
{
$this->src("mydata")
->query("select empno as is , othernames as firstName, surname as lastName from pemployee")
->pipe($this->dataStore("employees"));
}
}
?>
In my php.ini file extension=php_pdo_firebird.dll