Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001062

[PHP-DB] db2 (or any unified ODBC db), php, stored procedures, and OUT parameters From: Alex Mikhail (Alex.Mikhail <email protected>)
Date: 06/26/01

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