fatal error
| From: | William Sanchez Sanchez | Date: | Wed, 28 Nov 2001 18:45:28 +0000 |
| Subject: | fatal error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75916@lists.php.net to get a copy of this message | ||
I got that, Why it could be?
Fatal error: Cannot redeclare reporte_llamada() in
c:\Inetpub\wwwroot\online\includes\funciones.php on line 4
and the code for reporte_llamada() in ...\funciones.php is :
function reporte_llamada ($telefono,&$folio,$fecha_ini,$fecha_fin, $tipo) {
// llama a diferentes procedimientos en función de $tipo
switch($tipo){
case 0: // DETALLE LLAMADAS TELEFONOS
$connstring = "begin
PRODUCCION.REPORTE_LLAMADA_ONLINE($telefono,0,:FOLIO,'$fecha_ini','$fecha_fi
n'); end;";
break;
case 1: // DETALLE LLAMADAS REVENDEDORES
$connstring = "begin
PACK_REVENDEDOR.OBTENER_REPORTE_RV_P($telefono,'$fecha_ini','$fecha_fin',:FO
LIO); end;";
break;
}
$conn = ocilogon(conn_user, conn_pwd, conn_sid);
$stmt = ociparse($conn, $connstring);
//obtener parámetros
ocibindbyname($stmt,":FOLIO",&$folio,32);
ociexecute($stmt);
ocifreestatement($stmt);
} // reporte llamada
THANK U.