Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/06/2006, 02:32
Avatar de B**
B**
 
Fecha de Ingreso: enero-2006
Ubicación: Monterrey,Mexico
Mensajes: 952
Antigüedad: 18 años, 3 meses
Puntos: 3
Puedes tener tu form html asii:
Código HTML:
<form action="tuphp.php" method="POST" >
<input type="text" name="var1">
<input type="submit" name="Enviar" value="Enviar">
</form> 

Y en el php lo recibes asi :
Código PHP:
<? 
$variable
=$_POST["var1"];
// Aqui haces la consulta SQL con $variable
?>