Re: OCINewCursor
| From: | Thies Arntzen | Date: | Thu, 14 Sep 2000 11:10:16 +0000 |
| Subject: | Re: OCINewCursor | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16748@lists.php.net to get a copy of this message | ||
On Wed, Sep 13, 2000 at 03:47:20PM -0500, Paulson, Joseph V. Jay wrote:
> Hello everyone--
> Well I'm still trying to do the stored procedures in Oracle and PHP but I've
> been reading about it and I was wondering what OCINewCursor actually
> returns. Here's a short explanation of what I'm trying to do. I'm trying
> to input some information into an Oracle database using a stored procedure
> and that stored procedure returns two values so I need to get those as well.
> I first connect to the db, then create a new cursor, then I do my OCIParse,
> and after all this I OCIBindByName etc, but I keep getting errors. Anyway,
> any help is greatly appreciated!
$c = ocilogon("u","p");
$s = ociparse($s,"begin yourstoredproc(:a,:b); end");
$a = "hallo";
ocibindbyname($s,":A",&$a,32);
ocibindbyname($s,":B",&$b,32);
ociexecute($s);
tc
>
> Thanks,
> Jay Paulson
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany