Problema con un OCIPARSE
| From: | David Oliver Ramos Del Oso hotm | Date: | Mon, 10 Jun 2002 16:40:06 +0000 |
| Subject: | Problema con un OCIPARSE | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-23580@lists.php.net to get a copy of this message | ||
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
¿pueden ayudarme?