Re: help, please

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <marcial@manza.grm.onat.gov.cu>
To: <php-db@lists.php.net>
Date: Mon, 31 Mar 2003 07:57:38 -0600
Subject:  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



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux