Subject | Re: [firebird-php] Problems conecting to Firebird 1.5 with PHP in RedHat 9 |
---|---|
Author | Lester Caine |
Post date | 2004-05-20T18:42:39Z |
Kamus wrote:
Have you tried
<? phpinfo(); />
Just to check interbase module is loaded, it should show connection to
active server.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Have you tried
<? phpinfo(); />
Just to check interbase module is loaded, it should show connection to
active server.
> <?echo ibase_errmsg();
>
> // Script: listar.php
>
> $host = "localhost:/opt/firebird/examples/employee.fdb";
> $usuario = "sysdba";
> $password = "masterkey";
> $conexion = ibase_connect($host,$usuario,$password);
> $sql = "select * from country";This should give a hint as to the problem.
> $resultado = ibase_query($sql);
> while ($fila = ibase_fetch_row($resultado)) {
> echo $fila[0].' '.$fila[1].'<br />';
> }
>
> ?>
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services