PHP & OCIBindByName [message #130258] |
Fri, 29 July 2005 01:12 |
stockton
Messages: 10 Registered: July 2005 Location: South Africa
|
Junior Member |
|
|
I am obviously not understanding the OCIBindByName function as I get the following warning when I run my program:-
Warning: ocibindbyname() [function.ocibindbyname]: OCIBindByName: ORA-01036: illegal variable name/number in C:\Program Files\Apache Group\Apache2\htdocs\Kiosk\GetMember.php on line 47
My code looks like :-
$s = OCIParse($c, "begin sp_member_detail(:number, :num) end;");
OCIBindByName($s, ":cardNumber", $number);
So I assume that my understanding of OCIBindByName is wrong. Please explain.
|
|
|
|