Stored Procedure
| From: | bona at trama dot com dot br | Date: | Tue, 04 Sep 2001 15:44:42 +0000 |
| Subject: | Stored Procedure | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12143@lists.php.net to get a copy of this message | ||
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