oracle ODBC connect & proc exec problem
| From: | Lupus Arctos | Date: | Tue, 13 Jun 2000 21:15:20 +0000 |
| Subject: | oracle ODBC connect & proc exec problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-440@lists.php.net to get a copy of this message | ||
Hi Jeff,
I still have a problem under php4 with odbc (oracle 8.0.3) connect.
I used tnsname or tnsname.world name in the connection,
it works php3 but php4 can't use same script.
My script:
$conn = odbc_connect('ORA8','tankot','tankot',SQL_CUR_DEFAULT );
---
Who knows the oracle procedure executing from php?
It doesn't work:
$conn = odbc_exec($conn,'begin Procname; end;' );
or
$conn = odbc_exec($conn,'Procname' );
(but the Procname procedure is proper)
L'arc