Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/11/2006, 12:13
asegoviaz
 
Fecha de Ingreso: enero-2003
Mensajes: 516
Antigüedad: 21 años, 4 meses
Puntos: 0
Pregunta Problema con header

recogo una variable via get y luego proceso con este code
Código PHP:
 <? ob_start();
include(
"conexion.php"); 
$id=$_GET['id'];
   
$rspro2=mysql_query("select detalle,valor from tarifas where codtarifa='$id'",$cnn);
          while(
$campopro2=mysql_fetch_row($rspro2)){ 
$detalle=$campopro2[0];
$valor=$campopro2[1];
              }
/*session_start();
$_SESSION['id']=$id;
$_SESSION['detalle']=$campopro2[0];
$_SESSION['soles']=$campopro2[1];*/
header("Location:index.php");
exit();
//OJO con esto

         
ob_end_flush();?>
la pagina index.php existe y es desde donde viene la variable sin embargo me sale este problema
Código HTML:
Warning: Cannot modify header information - headers already sent by (output started at /home/digital/public_html/consulado/vertarifa.php:1) in /home/digital/public_html/consulado/vertarifa.php on line 13
he probado con exit y break y me sale el mismo problema

Gracias