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.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to