Re[2]: [PHP-GTK] how to connect to oracle

From: Date: Tue, 02 Apr 2002 10:18:47 +0000
Subject: Re[2]: [PHP-GTK] how to connect to oracle
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1698@lists.php.net to get a copy of this message
Hello Markus, Tuesday, April 02, 2002, 5:11:25 PM, you wrote: MF> On Tue, Apr 02, 2002 at 05:01:48PM +0700, ketutg wrote : >> Haloo everone >> >> >> how i can connect to oracle with php-gtk ??? MF> ocilogon() and friends, see http://php.net/oci8 why myscript error, message like this "call to undefined function : ocilogon()" putenv('ORACLE_SID=Daidata'); putenv('ORACLE_HOME=c:\oracle\ora8'); putenv('TNS_ADMIN=c:\oracle\ora8\net80\admin'); $connection = oCILogon("daisystem","rujak","dai") or die("Couldn't logon to database."); $sql = "SELECT customer_name FROM customers" ; $sql_statement = OCIParse($connection,$sql) or die("Couldn't parse statement."); OCIExecute($sql_statement) or die("Couldn't execute statement."); $num_columns = OCINumCols($sql_statement); -- Best regards, ketutg mailto:ketutg@yahoo.com

« previous php.gtk.general (#1698) next »