Ver Mensaje Individual
  #13 (permalink)  
Antiguo 09/04/2009, 14:52
Avatar de miros84
miros84
 
Fecha de Ingreso: diciembre-2008
Mensajes: 351
Antigüedad: 15 años, 4 meses
Puntos: 4
Respuesta: Pregunta de if else

Lo he puesto asi:

Código PHP:
mysql_query("INSERT INTO form(ime, mail, mensaje)
VALUES ('$ime', '$mail', '$mensaje')"
); 
}
$result mysql_query("SELECT * FROM form");
if(
$result)
{
header("Location:http://ley-dominical.websphp.com/");}
while(
$row mysql_fetch_array($result)) 
Y me da este error:
Cannot modify header information - headers already sent by (output started at /../../../ley-dominical/index.php:6) in /../../../ley-dominical/index.php on line 129

las primeras 10 lineas son:

Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<
title>LEY DOMINICAL</title>
<
style type="text/css">
<!--
.
tr54 {
    
text-aligncenter;
    
color#006; 
Es decir en linea 6 tengo <style type="text/css">
No entiendo este problema.