Foros del Web » Programando para Internet » PHP »

Exportar a Excel

Estas en el tema de Exportar a Excel en el foro de PHP en Foros del Web. Hola pe puede ayudar con el siguienet error por favor Estoy exportando un archivo a excel desde otra y me sale el siguiente error Warning: ...
  #1 (permalink)  
Antiguo 26/05/2009, 15:34
 
Fecha de Ingreso: abril-2004
Ubicación: cali
Mensajes: 32
Antigüedad: 20 años
Puntos: 0
Exportar a Excel

Hola pe puede ayudar con el siguienet error por favor


Estoy exportando un archivo a excel desde otra y me sale el siguiente error

Warning: Cannot modify header information - headers already sent by (output started at c:\wamp\www\azucar\comercial1eexp5.php:36) in c:\wamp\www\azucar\comercial1eexp5.php on line 61

Warning: Cannot modify header information - headers already sent by (output started at c:\wamp\www\azucar\comercial1eexp5.php:36) in c:\wamp\www\azucar\comercial1eexp5.php on line 62

Warning: Cannot modify header information - headers already sent by (output started at c:\wamp\www\azucar\comercial1eexp5.php:36) in c:\wamp\www\azucar\comercial1eexp5.php on line 63

Warning: Cannot modify header information - headers already sent by (output started at c:\wamp\www\azucar\comercial1eexp5.php:36) in c:\wamp\www\azucar\comercial1eexp5.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at c:\wamp\www\azucar\comercial1eexp5.php:36) in c:\wamp\www\azucar\comercial1eexp5.php on line 65


Megustaria saber por que es esto y cual es la solucion


Gracias
  #2 (permalink)  
Antiguo 26/05/2009, 15:39
Avatar de abimaelrc
Colaborador
 
Fecha de Ingreso: mayo-2009
Ubicación: En el planeta de Puerto Rico
Mensajes: 14.734
Antigüedad: 14 años, 10 meses
Puntos: 1517
Respuesta: Exportar a Excel

es que estas llamando un header() despues de algun include() o un require(), tienes que crear el header siempre lo más arriba posible, antes de que envie algun dato al browser de la persona.

Tiene que ser antes de la linea 61
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 17:37.