Make sure that u had installed Oracle Client on your Machine and Recompile your php 
with --with-oracle=$ORACLE_HOME then
check wether your Apache included -lpthread

-----Original Message-----
From: Marcial Comerón Mariño <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Mon, 31 Mar 2003 07:57:38 -0600
Subject: [PHP-DB] help, please


Hi all
I'm new with php.
I need connect with my db in oracle7.3.3, and doing it:
<?php

putenv("ORACLE_SID=my_sid");

putenv("ORACLE_HOME=my_path_home");

$handle = ora_plogon("user", "ssword")or die;

$cursor = ora_open($handle);

ora_commitoff($handle);

$query = "insert into my_tab values ( )...";

ora_parse($cursor, $query) or die;

ora_exec($cursor);

?>

But not work.

thank's and regards








--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to