Ver Mensaje Individual
  #3 (permalink)  
Antiguo 25/03/2007, 12:28
Avatar de Coala
Coala
 
Fecha de Ingreso: marzo-2007
Ubicación: Chile/Santiago
Mensajes: 150
Antigüedad: 17 años, 1 mes
Puntos: 0
Pregunta Re: Error con la funcion header

Cita:
Iniciado por Fridureiks Ver Mensaje
Esto:

</head>
<body>

Cuenta como salida
Por otro lado el ob_start(); creo que deberia estar antes de cualquier salida, incluso antes de </head><body>
entonces el codigo queda fuera del </head><body> ?
Código PHP:
<?php 
ob_start
(); 
?>
<?php  
   
include("conex.php"); 
   
$link=Conectarse(); 
   
$id=$_GET['id']; 
   
mysql_query("delete from cliente where rut_cliente = '$id'",$link); 
   
header("Location: borrar.php");  //<-----linea 39
?>
</head>
<body>
</body>
por lo qu entendi deberia ir asi.
Pero no me funciona ahun
De no ser asi, como es ?

Error : Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\sitio......... online 39