![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
01/08/2002, 00:16
|
![Avatar de gomo](http://static.forosdelweb.com/customavatars/avatar19859_1.gif) | | | Fecha de Ingreso: mayo-2002
Mensajes: 906
Antigüedad: 22 años, 9 meses Puntos: 0 | |
Re: Recoger formulario con PHP si te fijas, en cada <input> de tu formulario, hay un atributo "name"...
asi:
<input type=text name=nombre>
Cuando envias el formulario, recibes una variable $nombre dentro de tu script.
Tambien es posible que si tu version de PHP es muy moderna, tengas que recuperar la variable asi:
$HTTP_POST_VARS['nombre'] o
$HTTP_GET_VARS['nombre']
Dependiendo de si el "method" de tu form es GET o POST. Si quieres saber como configurar PHP para recibir las variables de una manera u otra, nos preguntas.
Saludos ;)
<div align="center"><img src="http://cablemodem.fibertel.com.ar/sainztrapaga/images/firma.jpg" width="435" height="70" border="0">
</div> |