[PHP3] Oracle 7, stored procedure and array bindings From: Alexandr Lopatin (A.Lopatin <email protected>)
Date: 08/31/99

Hi all.
Sorry my english...
I have a problem with bindings the array to stores procedure.
I do:
....
ora_parse($cursor,"execute my.proc(':in1',:in2); end;");
ora_bind($cursor,"input1",":in1",5,1);
ora_bind($cursor,"input2",":in2",50,0);
ora_exec($cursor);
....

my proc:

procedure myproc(T IN varchar2,Q IN OUT RTL.STRING_TABLE) is
  IDX pls_integer;
 begin
  IDX := Q.FIRST;
  Q(IDX) := '1)'||T;
  IDX := Q.NEXT(IDX);
  Q(IDX) := '2)'||T;
  return;
 end;

It is not work.
Where i wrong?

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>