Hello everyboby!

this is my first time on this list and I writing to ask for help on SP.....

I have the following code calling a Procedure:

<?


$c=OCILogon("SYSTEM","manager");
$x =0;
$cpf="10001628852";

$sth = OCIParse ($c, "begin CPF_ORA(=:$cpf);end;" );

OCIBindByName ( $sth, ":$cpf", 12);
OCIExecute ($sth );

?>

and I having this error message:

Fatal error: Only variables can be passed by reference in c:\program
files\apache group\apache\htdocs\testes\procedure5.php on line 10

can aybody help me?

thanks

Bona

__________________________
Visite http://www.trama.com.br


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to