No hay manera de que me salga.., me pone todo el rato esto:
Warning: Cannot modify header information - headers already sent by (output started at /home/tidus17/public_html/imagenes/form_reportero.php:9) in /home/tidus17/public_html/imagenes/form_reportero.php on line 14
y eso que el codigo que yo tengo puesto es este:
Código PHP:
<html>
<head>
<title>:: Genes Pokémon ::</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
$destinatario="[email protected]";
$comentarios="Datos del solicitante" . "\n\n" ."Nombre: " . $_POST['nombre']. "\n\n" . "E-Mail: " . $_POST['mail']. "\n\n" . "Nick: " . $_POST['nick']. "\n\n" . "Contraseña: " . $_POST['contraseña']. "\n\n" . "¿Trabajas para otras webs?: " . $$_POST['trabajas']. "\n\n" . "Comentarios: " . "\n\n". $_POST['comentarios'];
mail($destinatario,"Quiero ser Reportero de Genes Pokémon",$comentarios,"De:$mail");
?>
<? header("Location: reportero.php"); ?>
</body>
</html>