Código HTML:
Ver original
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html lang="es-Es" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <link href='http://fonts.googleapis.com/css?family=Rock+Salt' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Indie+Flower' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Reenie+Beanie' rel='stylesheet' type='text/css'> <style type="text/css"> body { background:url(fondo.jpg) no-repeat fixed center; background-position:center; } form { background:#333333; width:360px; border:1px solid #4e4d4d; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px; margin:100px auto; } form h1 { text-align: center; color: #ffffff; font-weight:black; font-size:18pt; margin-left: 0px; margin-right: 30px; margin-top: 15px; margin-bottom: -40px; font-family: 'Rock Salt', cursive; } form input{ width:280px; height:35px; padding:0px 10px; color:#6d6d6d; margin-top:10px; margin-bottom:5px; font-family: 'Reenie Beanie', cursive; font-size: 17pt; } form label{ width:280px; height:35px; padding:0px 0px; color:#ffffff; text-align:center; font-family: 'Indie Flower', cursive; } form button{ width: 135px; margin-top:5px; height:50px; border:1px solid #232323; color: %fff; box-shadow: 0px 2px 0px #000; -moz-box-shadow: 0px 2px 0px #000; -webkit-box-shadow: 0px 2px 0px #000; border-radius: 3px; -moz.border-radius: 3px; -webkit-border-radius: 3px; } form button:hover{ background:#B2B2B2; } form button:active{ background: #F9F9F9; } </style> </head> <body> <form method="post" action="miformu.php"> <ul> <br /> <input type="text" name="nombre" placeholder="Ejm: Giancarlo" required /> <br /> <input type="text" name="nombredos" placeholder="(Opcional)" /> <br /> <input type="text" name="apellidos" placeholder="Ejm: Rosero Portillo" required /> <br /> <input type="date" name="nacimiento" name="nacimiento" required /> <br /> <br /> <input type="email" name="email" placeholder="Ejm: [email protected]" required /> <br /> <input type="text" name="usuario" placeholder="Nombre de usuario" required /> <br /> <input type="password" name="clave" required /> <br /> <br /> <input type="submit" value="enviar" id="boton"> </ul> </form> </body> </html>
El cual redirige a la sig. página: [URL="http://creacioninternetgian.site90.net/"]http://creacioninternetgian.site90.net/[/URL]
Y en el php tengo esto:
Código PHP:
Ver original
<?php $nombre=$_POST["nombre"]; $nombredos=$_POST["nombredos"]; $apellidos=$_POST["apellidos"]; $nacimiento=$_POST["nacimiento"]; $correo=$_POST["correo"]; $usuario=$_POST["usuario"]; $clave=$_POST["clave"]; $opinion=$_POST["opinion"]; $contenido= "Nombre: " .$nombre. "\nnombredos" .$nombredos. "\nApellidos: " .$apellidos. "\nNacimiento: " ."\nCorreo: " .$correo. "\nUsuario: " .$usuario. "\nClave: " .$clave. "\nOpinion: " .$opinion; echo "Se envió el mensaje"; ?>
Según todo y eso sale que se ha enviado; pero NO LLEGA NADA
![triste](http://static.forosdelweb.com/fdwtheme/images/smilies/frown.png)
![triste](http://static.forosdelweb.com/fdwtheme/images/smilies/frown.png)
![Golpeado](http://static.forosdelweb.com/fdwtheme/images/smilies/pelea.png)
![Confundido](http://static.forosdelweb.com/fdwtheme/images/smilies/confused.png)
espero me ayuden, gracias