Guest_imported
New member
- Jan 1, 1970
- 0
When I try to connect to an interbase database I receive this error, any help:
Fatal error: Call to undefined function: ibase_connect() in index.php on line 4
Here the code:
<?PHP
$conn=ibase_connect("teste1.gdb", "SYSDBA", "masterkey"
if (!$conn)
{ echo "Access Denied!";
exit; }
$query="SELECT * FROM TESTE;";
$result=ibase_query($conn,$query);
if (!$result) {
echo "Error. Can't insert the record with the query: $query!";
exit;
}
?>
Fatal error: Call to undefined function: ibase_connect() in index.php on line 4
Here the code:
<?PHP
$conn=ibase_connect("teste1.gdb", "SYSDBA", "masterkey"
if (!$conn)
{ echo "Access Denied!";
exit; }
$query="SELECT * FROM TESTE;";
$result=ibase_query($conn,$query);
if (!$result) {
echo "Error. Can't insert the record with the query: $query!";
exit;
}
?>