Re: Interbase and php on win2k...
| From: | Christian C. | Date: | Sat, 06 Oct 2001 00:14:27 +0000 |
| Subject: | Re: Interbase and php on win2k... | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13060@lists.php.net to get a copy of this message | ||
Ok im getting some where the Ib dll is finaly getting loaded....
But now the php is giving me av (the memory could not be written).
Here is my code:
<?php
$host = "computer:C:\Servers\interbase\database\employee.gdb";
$dbh = ibase_connect ($host, "SYSDBA", "masterkey");
$stmt = "select * from customer";
$sth = ibase_query ($dbh, $stmt);
while ($row = ibase_fetch_object ($sth)) {
print $row->email . "\n";
}
ibase_close ($dbh);
?>
What am i dowing whrong??
Thanks
Christian