Hola a todos, tengo el siguiente problema.
Código PHP:
if($_POST['radio1'] == 'A')
{
header ("Location: ../web/pagina1.php");
}
else
{
header ("Location: ../web/pagina2.php");
}
El error que me bota es el siguiente:
Código PHP:
Warning: Cannot modify header information - headers already sent by (output started at [B]LINEA DE CODIGO[/B]
Sin embargo cuando existe un solo Header, para hacer la redireccion funciona perfectamente, pero cuando hay dos no funciona.
Alguna solucion??
Saludos