Re: PHP + DB2

From: Date: Mon, 17 Dec 2001 15:07:16 +0000
Subject: Re: PHP + DB2
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77947@lists.php.net to get a copy of this message
> Using ODBC should be fine; what problems are you having with input/output > parameters? I have a stored procedure like this: CREATE PROCEDURE ADMINISTRATOR.Proc2 (IN idc INT,OUT max int) ..... P1: BEGIN SET max = 22; END P1 And I try to call it like this: $ps = "CALL ADMINISTRATOR.PROC2(2,?)"; $result = odbc_prepare($link,$ps); $arrparam = array(1); $rst = odbc_execute($result, $arrparam); echo $arrparam[0]; and no luck. > Also, what ODBC drivers are you using? IBM DB2 ODBC DRIVER 7.01.00.40 I appreciate any suggestion. Rares

« previous php.general (#77947) next »