Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/04/2007, 14:36
miguel2003
 
Fecha de Ingreso: diciembre-2005
Mensajes: 37
Antigüedad: 18 años, 4 meses
Puntos: 0
problemac con switch

no encuentro le error, me podrian ayudar.

?>

<tr>
<td width="1%" align="center"><?php print $row2["tipo"]; ?></font></td>

<td width="2%" align="center"><?switch ($row2["tipo"]) { <?php print $row2["documento"]; ?>
case "1": header ("<a href=menu2.php>");
exit();
break;
case "2": header ("<a href=menu2.php>");
exit();
break;
case "2": header ("<a href=menu2.php>");
exit();
break;
}
<td width="2%" align="center"><?php print $row2["referencia"]; ?></font></td>
<?php