![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
21/01/2009, 13:56
|
| | Fecha de Ingreso: enero-2009
Mensajes: 142
Antigüedad: 16 años, 1 mes Puntos: 1 | |
Respuesta: pasar variables con post <form method = "post" action = "insertar.php">
edad <br>
<input type = "text" name = "edad"><br>
sexo <br>
<input type = "text" name = "sexo"><br>
fecha nacimiento<br>
<input type = "text" name = "fecha_nacimiento"><br>
telefono<br>
<input type = "text" name = "telefono"><br>
<input type = "submit" value = "Enviar">
</form>
mira este codigo envia datos por post y despues lo recibes
$edad = $_POST['edad'];
$sexo = $_POST['sexo'];
$fecha_nacimiento = $_POST['fecha_nacimiento'];
$telefono = $_POST['telefono']; |