Change to:

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

There could be other bugs but I'm sure you can fix them.

> 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