Forum Moderators: coopster
I installed Php+Apache under windows 2000 professional and can't connect to database!
The php code is
<?php
$dbh = ibase_pconnect("d:/temp/test.gdb", "sysdba", "masterkey");
$stmt = 'SELECT * FROM tblname';
$sth = ibase_query($dbh, $stmt);
while ($row = ibase_fetch_object($sth)) {
echo $row->email, "\n";
}
ibase_free_result($sth);
ibase_close($dbh);
?>
I get error:
Warning: InterBase: unavailable database in d:\projects\findyourlove\www\test.php on line 2
Does anyone have the same problem?
What the solution?
Is the path to the db correct? It looks like the connect is the problem.
Did you look at
[php.net...]