Ver Mensaje Individual
  #8 (permalink)  
Antiguo 04/09/2008, 13:39
diapocharacter
 
Fecha de Ingreso: septiembre-2005
Mensajes: 122
Antigüedad: 18 años, 7 meses
Puntos: 0
Respuesta: problema formulario php

ronruby muchas gracias por contestar, te comento he metido los siquientes codigos y me corriges si esta bien ok,
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=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
</head>

<body>
<?php

$destino 
"[email protected]";
$asunto "asunto del mensaje";
$mensaje "Nombre: " $_GET['nombre'] . "\nEmail :" $_GET['email'] ."url: " $_GET['url'] . "comentario: " $_GET['comentario'];

mail($destino$asunto$mensaje)  
?> 
</body>
</html>
y este es el siguiente
Código HTML:
 <form  action="formulario.php" name="formulario" id="formulario" >
 
	<label for="nombre">Nombre:</label>
	
			<input type="text" id="nombre" name="nombre" class="campo" />
			
	<label for="email">E-mail:</label>
		<input  type="text" class="campo" name="email" id="email"  />
		
	<label for="url">URL:</label>
		<input  type="text" class="campo"  name="url" id="url" />
		
	<label for="comentario">Comentario:</label>
	<textarea  class="campo" name="comentario" id="comentario"></textarea>
	<br />
        <input type="submit" id="boton_enviar" name="enviar" value="Enviar" />
 </form> 
y no me funciona esta mal echo por alguna parate