Re: Problema con un OCIPARSE
| From: | Andres Ferrando | Date: | Mon, 10 Jun 2002 15:49:50 +0000 |
| Subject: | Re: Problema con un OCIPARSE | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-23581@lists.php.net to get a copy of this message | ||
el error que te da dice que $conn no es una conexión válida ... es
correcta esa variable? estás conectándote bien?
el otro error es producto de este ...
> Tengo la siguiente sentencia. Siendo idclienteaux, idcontactoaux e
> idcampanaaux numeros, Y $username un string.
>
> $stmt=OCIParse($conn,"UPDATE T_ACCION_CAMP_CLI
> set CERRADO='S',
> F_CERRADO=sysdate
> WHERE IDCLIENTE = ".$idclienteaux."
> AND IDCONTACTO = ".$idcontactoaux."
> AND IDCAMPANA = ".$idcampanaaux."
> AND UPPER(USUARIO) = ' ".strtoupper($username)." ' ");
> /*line 143*/
>
> OCIExecute($stmt); /*line 153*/
>
> Me da el siguiente error :
>
> Warning: ociparse(): supplied argument is not a valid OCI8-Connection
> resource in f:\user\doramosde\proyecta\mailing\php\ventanaalerta\alerta.php
> on line 143
>
> Warning: ociexecute(): supplied argument is not a valid OCI8-Statement
> resource in f:\user\doramosde\proyecta\mailing\php\ventanaalerta\alerta.php
> on line 153
--
Andres Ferrando <anferr@mecon.gov.ar>