[PHP-DB] Re: Calling Oracle Functions

2002-04-30 Thread Michael Virnstein
ok, i found the answer for using cursors in the description for ocinewcursor. so it should be: $query = "BEGIN :result := ACCESSLIST.GETRIGHTS(:in_val); END;"; $curs = ocinewcursor($conn); $stmt = ociparse ($conn, $query); ocibindbyname($stmt, ":result", &$curs, -1, OCI_B_CURSOR); ocibindbyname($

[PHP-DB] Re: Calling Oracle Functions

2002-04-30 Thread Michael Virnstein
ok, i found the answer for using cursors in the description for ocinewcursor. so it should be: $query = "BEGIN :result := ACCESSLIST.GETRIGHTS(:in_val); END;"; $curs = ocinewcursor($conn); $stmt = ociparse ($conn, $query); ocibindbyname($stmt, ":result", &$cursor, -1, OCI_B_CURSOR); ocibindbyname