Re: Stored Procedure
| From: | Thies C. Arntzen | Date: | Fri, 07 Sep 2001 09:13:38 +0000 |
| Subject: | Re: Stored Procedure | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-12242@lists.php.net to get a copy of this message | ||
On Tue, Sep 04, 2001 at 07:44:42AM -0800, bona@trama.com.br wrote:
> 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", $cpf,32);
$cpf=12;
OCIExecute ($sth );
re,
tc
>
> ?>
>
> 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: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>