Subject Re: [firebird-php] Problems conecting to Firebird 1.5 with PHP in RedHat 9
Author Äìèòðèé
Hello Kamus,

Thursday, May 20, 2004, 8:39:33 PM, you wrote:

K> I have problems conecting to Firebird 1.5 from PHP (4.3.5)
K> // Script: listar.php

Make to attempt to print some other data
and in tuning of php.ini it is necessary to include the reflection of errors

display_errors = On
error_reporting = E_ALL
html_errors = On
extension=php_interbase.dll (for linux differently)





K> $host = "localhost:/opt/firebird/examples/employee.fdb";
K> $usuario = "sysdba";
K> $password = "masterkey";
K> $conexion = ibase_connect($host,$usuario,$password);
K> $sql = "select * from country";
K> $resultado = ibase_query($sql);
K> while ($fila = ibase_fetch_row($resultado)) {
K> echo $fila[0].' '.$fila[1].'<br />';
K> }



--
Best regards, Dmitry
Ukraine Donetsk