-He creado un formulario con todo detalle os dejo el codigo:
Código
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/> <link rel="stylesheet" type="text/css" href="style.css" media="all" /> <link rel="stylesheet" type="text/css" href="Estilos2.css" media="all" /> <form action="destino.php" method="post"> <script language="javascript"> function validacion(obj) { limite=3; num=0; if (obj.checked) { for (i=0; ele=obj.form.elements[i]; i++) if (ele.checked) num++; if (num>limite) obj.checked=false; } } </script> </head> <body> <div class="container"> <header> </header> <div class="form"> <form id="contactform"> <input type="text" name="Nombre" maxlength="30" maxlength="30" placeholder="Nombre y Apellidos | Max 30 caracteres " required="" tabindex="1" type="text"> <input type="text" name="email" maxlength="30" placeholder="Ejempo:Marcos@hotmail.es" tabindex="2" required="" type="email"> <input id="username" name="username" placeholder="EJ: TheKawahal | Max 15 caracteres" required="" maxlength="15" tabindex="2" type="text"> <input type="text" name="direccion" maxlength="30" placeholder="EJ:calle del suspenso" required="" tabindex="2" type="text"> <input type="text" name="pelicula" maxlength="30" placeholder="*Ejemplo* I´m Legend" required="" tabindex="2" type="text"> <input id="username" name="username" placeholder="EJ: TheKawahal" required="" tabindex="2" type="text"> <tr> <td> Dibujar <input type="checkbox" name="dibujar" onchange="validacion(this)" value="Elegida" /> Estudiar <input type="checkbox" name="estudiar" onchange="validacion(this)" value="Elegida" /> Cantar <input type="checkbox" name="Cantar" onchange="validacion(this)" value="Elegida" /> Cocinar <input type="checkbox" name="Cocinar" onchange="validacion(this)" value="elegida" /> Otros <input type="checkbox" name="otros" onchange="validacion(this)" value="elegida"> </td> </tr> <input type="password" name="Contraseña" placeholder="Escribe una Contraseña | Max 10 caracteres" id="password" name="password" required=""> <input type="password" name="Contraseña" maxlength="10" name="repassword" required=""> <fieldset> <label class="Mes"> <select class="select-style" name="mes"> </label> </select> </fieldset> <select class="select-style gender" name="Genero"> <script> function validarNumeros(e) { var key; if(window.event) { key = e.keyCode; } else if(e.which) { key = e.which; } if (key < 48 || key > 57) { if(key == 46 || key == 8) { return true; } else { return false; } } return true; } </script> <p class="contact"><label for="phone">Telefono Movil &n bsp; &nbs p; &n bsp; &nbs p; &n bsp; &nbs p; |Maximo 9 Dígitos| </label></p> <tr> <td> Malo <input type="radio" name="Puntuacion" value="Malo"> Regular <input type="radio" name="Puntuacion" value="Regular"> Normal <input type="radio" name="Puntuacion" value="Normal"> Bueno <input type="radio" name="Puntuacion" value="Bueno"> Muy Bueno <input type="radio" name="Puntuacion" value="Muy Bueno"> Excelente <input type="radio" name="Puntuacion" value="Excelente"> </td> </tr> <input class="buttom" name="submit" id="submit" tabindex="5" value="Enviar!" type="submit"> <input type="reset" value="Borrar información"> </form> </div> </div> </body> </html>
El formulario esta con css y demas pero lo que me han pedido es que cuando alguien envie los datos por ejemplo desde un server xamp que esos datos lleguen a una pagina donde se guarden..entonces yo he creado una tabla con este codigo:
Código
Como puedo hacer para que los datos del formulario me lleguen a esa tabla? si alguien me lo puede explicar con todo detalle le agradeceré de por vida esta ayuda,por que he buscado por toda la web y nadie me ha respondido,Gracias!
NOTA MOD: Usar etiquetas GeSHi. [code=html4strict][/code]. Reglas