Interbase
| From: | Sergey Nikiforov | Date: | Wed, 13 Sep 2000 22:54:16 +0000 |
| Subject: | Interbase | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-2631@lists.php.net to get a copy of this message | ||
I have local InterBase. The code below does not create a table. What I
do wrong?
<?php
$host = "C:\Upscene Productions\InterBase Workbench\Php.gdb";
$username = "sysdba";
$password = "masterkey";
$dbh = ibase_pconnect ($host, $username , $password);
$stmt = 'CREATE TABLE T1 (P1 INTEGER NOT NULL PRIMARY KEY)';
$query = ibase_prepare($stmt);
ibase_execute($query);
ibase_free_query($query);
ibase_close ($dbh);
?>