Ora_Bind()
[email protected] ("Andy") Fri, 13 Aug 1999 13:38:59 +0400
| Newsgroups | php.kb |
|---|---|
| Message-ID | <00fe01bee56f$aea4f790$05000000@andy> |
Hi guys! Well, why this simple example from PHP3 manual doesn't work? <?php ora_parse($curs, "declare tmp INTEGER; begin tmp := :in; :out := tmp; :x := 7.77; end;"); ora_bind($curs, "result", ":x", $len, 2); ora_bind($curs, "input", ":in", 5, 1); ora_bind($curs, "output", ":out", 5, 2); $input = 765;ora_exec($curs); echo "Result: $result<BR>Out: $output<BR>In: $input"; ?> script returned Warning: Can't find variable for parameter in <script_name> Using Solaris 2.6, Oracle 7.3.3, PHP 3.0.11 Please help and explain what is wrong. Regards, Andy