db2 (or any unified ODBC db), php, stored procedures, and OUT parameters

From: Date: Tue, 26 Jun 2001 06:08:06 +0000
Subject: db2 (or any unified ODBC db), php, stored procedures, and OUT parameters
Groups: php.db 
Request: Send a blank email to php-db+get-9825@lists.php.net to get a copy of this message
I am trying to return an OUT or INOUT parameter from a stored procedure call to PHP via the Unified ODBC functions. I've RTFM and I don't see anything on this. I've tried to pass a variable to an INOUT parameter via the "parameters array" in odbc_execute. Is there any trick or hack to work around this. I'm trying to return a string from a DB2 (SQL-Procedural Language) stored procedure to PHP. I'd appreciate any help. I wouldn't mind hearing back from anyone whose tried the same thing with other databases using the Unified ODBC library. Thanks for any help in advance, Alex Mikhail

« previous php.db (#9825) next »