Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/12/2007, 09:47
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Aprendiendo duda sobre comunicacion Forms + Clases .

Haces lo mismo, por decir:
Código HTML:
<form action="/server" method="post">
<input type="text" name="dato" />
<input type="submit" name="envia" value="Enviar Datos" />
</form> 
Y en PHP:
Código PHP:
if( strtoupper$_SERVER['REQUEST_METHOD'] ) == "POST" ) {
        
$class = new MiClase();
        
$class->inserta$_POST['dato'] );

Saludos.