Ver Mensaje Individual
  #5 (permalink)  
Antiguo 03/12/2008, 08:23
Avatar de gVenom
gVenom
 
Fecha de Ingreso: julio-2008
Ubicación: Costa Rica
Mensajes: 1.458
Antigüedad: 15 años, 9 meses
Puntos: 53
Respuesta: Ir a inicio despues de mandar un mensaje

Cita:
Iniciado por burn Ver Mensaje
Gracias por su respuesta, el codigo me esta mandando el siguiente error:

Parse error: syntax error, unexpected '<' in C:\inetpub\vhosts\direccion\httpdocs\enviar.php on line 35

el codigo lo puse asi

<?php
contenido
<meta http-equiv='refresh' content=0; url='Index.htm'>
?>

saben por que mem manda ese error?
Gracias de antemano!
Saludos, El error se debe a que el código que copiaste es un meta tag, y va entre <head> y </head> y tu lo pusiste en el php, deveria verse algo así:
Código HTML:
<!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" />
<META HTTP-EQUIV="Refresh" CONTENT="7;URL=http://www.tupagina.com/index.html"> 
<title>Send Pledge</title>
<style type="text/css">
.style1 {
	color:#0000FF;
	font-weight: bold;
}

</head>

<body>
<p>&nbsp;</p>
<?php
  
                  ////////////////////Aqui va tu contenido//////////////

?>
</body>
</html> 
__________________
"Al que venciere y guardare mis obras hasta el fin, yo le daré autoridad sobre las naciones."
Apocalipsis 2: 26
Servicios para Pymes http://dst.co.cr