Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/10/2008, 11:04
Avatar de Capimaster
Capimaster
 
Fecha de Ingreso: agosto-2004
Mensajes: 494
Antigüedad: 19 años, 8 meses
Puntos: 2
Enviar dos variables con un formulario...

Saludos mi nuevo problema parace ser muy sencillo..

y es que necesito mandar dos variable por medio de un formulario... como podria hacerlo?

con el siguiente formulario solo envio la variable key ke define la busqueda que estoy haciendo yo necesito agregar una segunda variable

Código PHP:
buscar.php?lugar=<?php echo $_GET['lugar']; ?>
Código HTML:
<form id="form1" name="form1" method="get" action="<?php echo $baseurl; ?>eventos/buscar.php">

                  <p>&nbsp;</p>
                  <p>&nbsp;</p>
      <table width="194" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="27" valign="top"><input name="key" type="text" id="key" size="25" value="Buscar evento" onFocus="this.value=''" class="campos"/></td>
    <td width="31" height="27" valign="top"><input type="submit" value="" class="search"/></td>
  </tr>
</table>
                  </form
__________________
http://www.elcapitolio.com.mx - Ocotlán, Jalisco, México