Dear All,
I Use NuSphere 5.95 (trial mode) and try to debug following code
<?php
class theCore {
var $db;
function db_con() {
if (!($this->db = ibase_connect('localhost:database','SYSDBA','masterkey')))
die('No connection: ' . ibase_errmsg());
}
function print_row() {
$stmt = "select d.nomer as NOMER from table d";
$q = ibase_query($this->db,$stmt);
while ($row=ibase_fetch_object($q)) {
echo $row->NOMER.'<br/>';
}
}
}
?> |
when debugging and step in
$q = ibase_query($this->db,$stmt); there is error:
Dynamic SQL Error SQL error code = -804 SQLDA missing or incorrect version, or incorrect number/type of variables
Function function db_con() return Firebird link = true;
PhpED use PHP 5.3.
With my XAMPP installation, the script work fine, without error.