Date: 01/29/00
- Next message: Giancarlo Pinerolo: "[PHPLIB-DEV] XML savings"
- Previous message: xendra: "[PHPLIB-DEV] MySQL 3.23 and PHP3/PHPLIB - potential problem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The following example for the function OCINewCursor dosn't work:
<?php
// suppose your stored procedure info.output returns a ref cursor in
:data
$conn = OCILogon("scott","tiger");
$curs = OCINewCursor($conn);
$stmt = OCIParse($conn,"begin info.output(:data); end;");
ocibindbyname($stmt,"data",&$curs,-1,OCI_B_CURSOR);
ociexecute($stmt);
ociexecute($curs);
/*line 7*/ while (OCIFetchInto($curs,&$data)) {
var_dump($data);
}
OCIFreeCursor($stmt);
OCIFreeStatement($curs);
OCILogoff($conn);
?>
I recieved the following error:
Warning: OCIFetchInto:
ORA-24374: define not done before fetch or execute and fetch in
<c:\Program Files.... on line 7> PLEASE HELP
thank you in advance
best regards
Olga
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.
- Next message: Giancarlo Pinerolo: "[PHPLIB-DEV] XML savings"
- Previous message: xendra: "[PHPLIB-DEV] MySQL 3.23 and PHP3/PHPLIB - potential problem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

