Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/09/2002, 20:54
chivi
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 889
Antigüedad: 22 años, 3 meses
Puntos: 4
Re: Ayuda con campos en formularios, es fácil !!!!!!

Buenas:

1º. Ya se te advirtió de que dejaras de llamar la atención escribiendo EN MAYÚSCULAS, pues a los usuarios LE ES MOLESTO.

2º. ¿Por qué no metes en el envio las variables que quieres mostrar?

Ej:
<form method=post action=<? $PHP_SELF ?>>
<input type=text name=nombre>NOMBRE<br>
<input type=text name=apellido>APELLIDO<br>
<input type=text name=edad>EDAD<br>
<input type=text name=passport>PASAPORTE<br>
<textarea name=mensaje></textarea>MENSAJE<br>
<input type=submit value=Enviar>

<?
if($accion=="enviar"){
$myemail = "[email protected]"; //DESTINO
$asunto = "CONTACTO EN WEB SITE";
mail("$myemail","$asunto",&quo t;$mensaje\nNombre: $nombre\nApellido: $apellido\nEdad: $edad\nPasaporte: $passport");
}
?>

Saludos

<html><center><embed src="http://www.iespana.es/redmaestro/banner.swf" height=75 width=500>
</embed></center></html>