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();?>    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
Gracias
 
