Bug #18057: I can't receive value from Stroed Procedure
| From: | smg at hktl dot com | Date: | Sat, 29 Jun 2002 01:59:40 +0000 |
| Subject: | Bug #18057: I can't receive value from Stroed Procedure | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-12481@lists.php.net to get a copy of this message | ||
From: smg@hktl.com
Operating system: Windows 98/ME/200,Linux
PHP version: 4.2.1
PHP Bug Type: ODBC related
Bug description: I can't receive value from Stroed Procedure
Hi.
first, my english is not good but I believe you are understand about my
english.
I can't receive return value from DB2/400 Stroed Procedure. next source
<?
$db_conn=odbc_connect("DSNBSN400","WEBUSER","WEBUSER") or die (
odbc_error
() );
$result=odbc_prepare($db_conn,"Call WEBLIB.TEST_SP01(?,?)");
$par[0]=11;$par[1]='';
if(!odbc_execute($result,&$par))
{
print("The odbc statement failed to execute! ");
}
print_r($par);
?>
I want to receive Return Value.
good job
bye
ps : I using to IBM AS/400 DB2 UDB
--
Edit bug report at http://bugs.php.net/?id=18057&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18057&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18057&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18057&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18057&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18057&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18057&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18057&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18057&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18057&r=globals