#22438 [Opn->Bgs]: ODBC Stored Procedure Return
| From: | iliaa@php.net | Date: | Wed, 26 Feb 2003 15:41:02 +0000 |
| Subject: | #22438 [Opn->Bgs]: ODBC Stored Procedure Return | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34321@lists.php.net to get a copy of this message | ||
ID: 22438
Updated by: iliaa@php.net
Reported By: rpreti at ig dot com dot br
-Status: Open
+Status: Bogus
Bug Type: ODBC related
Operating System: Linux
PHP Version: 4.2.3
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Not a place for support questions.
Previous Comments:
------------------------------------------------------------------------
[2003-02-26 08:36:12] rpreti at ig dot com dot br
I use the code below to get a CHAR from a stored procedure. My system
is PHP4+DB2+LINUX.
I have heard that php just support input parameters to stored
procedures. I need to know how to get output parameters if is
possible.
===========================================
$result=odbc_prepare($conn,"{CALL DSMTD.S6S006(?,?)}");
$par[0]=$pim.$num_rand;
$par[1]=' ';
odbc_execute($result,&$par);
print_r($par);
============================================
Thanks,
Renato Preti
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22438&edit=1