how to use the ociparase and ocibindname like this

wxdqz

New Member
I want to excute a procedure with oci funtion
now have 2 parameters, radio and freq
radio is input,and freq is input or output
procedure sale(radio in char,freq in out char)
perhaps,i will freq as in or out parameter
how i write in the ocibindbyname funciton
and ociparase funciton,is that right show below?
$radio='111';
ociparse($stmt,sale($radio,:freq)
ocibindbyname($stmt,":freq",&$freq,10);

if i write like this,when i use freq as input parameter,in procedure
can't use the freq ,
i use freq as output paramter ,it is right
 
Back
Top