Re: Interbase
| From: | Gonzalo Vera | Date: | Wed, 13 Sep 2000 23:24:59 +0000 |
| Subject: | Re: Interbase | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2632@lists.php.net to get a copy of this message | ||
Any error reports? You could try using \\ in the $host, like:
$host = "C:\\Upscene Productions\\InterBase Workbench\\Php.gdb";
Gonzalo.
> 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);
?>>