Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/01/2009, 13:56
diegonazho
 
Fecha de Ingreso: enero-2009
Mensajes: 142
Antigüedad: 15 años, 4 meses
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'];