Hola a todos, yo arme un buscador que manda todo lo que uno busca por GET, ahora el tema es que cuando uno busca, manda TODO, osea tanto la busqueda , como la categoria, y el problema que manda tambien el BOTON osea button=buscar, hay forma de sacar eso, osea que mande por GET lo que uno quiera en ves de todo?. abajo pongo el form del buscador.
Gracias.
Código:
<table border="0" align="center" cellpadding="0" cellspacing="0" class="b01">
<tr>
<td width="312" height="129"><table width="89%" border="0" cellpadding="0" cellspacing="0" class="b01">
<tr>
<th scope="col"><form id="form1" name="form1" method="get" action="">
<table height="126" border="0" align="center" cellpadding="0" cellspacing="0" class="b01">
<tr>
<td width="10" height="9"><img src="images/t_11.gif" width="10" height="9" alt="" border="0" /></td>
<td width="6" background="images/t_13.gif"><img src="images/t_12.gif" width="6" height="9" alt="" border="0" /></td>
<td width="252" align="right" background="images/t_13.gif"><img src="images/t_14.gif" width="6" height="9" alt="" border="0" /></td>
<td width="10"><img src="images/t_15.gif" width="10" height="9" alt="" border="0" /></td>
</tr>
<tr valign="top">
<td background="images/t_fon_left.gif"><img src="images/t_21.gif" width="10" height="6" alt="" border="0" /></td>
<td colspan="2" rowspan="2" class="b01"><!-- in -->
<br />
Buscar:<br />
<br />
<label>
<input name="busqueda" type="text" id="busqueda" value="<?php echo $busqueda ?>" />
</label>
Año:
<label>
<input name="anio" type="text" id="anio" value="<?php echo $periodo; ?>" size="2" maxlength="4" />
</label>
<br />
<p>
<label>
<input name="categoria" type="radio" id="RadioGroup1_0" value="propietario" checked="checked" />
Propietario</label>
<label>
<input type="radio" name="categoria" value="traslado" id="RadioGroup1_1" />
Traslado</label>
<label>
<input type="radio" name="categoria" value="zona" id="RadioGroup1_2" />
<span class="b01b">Zona</span></label>
<br />
<label>
<br />
<input type="submit" name="button" id="button" value="Buscar" />
</label>
<br />
</p> <!-- /in --></td>
<td background="images/t_fon_right.gif"><img src="images/t_23.gif" width="10" height="6" alt="" border="0" /></td>
</tr>
<tr valign="bottom">
<td height="101" background="images/t_fon_left.gif"><img src="images/t_31.gif" width="10" height="7" alt="" border="0" /></td>
<td background="images/t_fon_right.gif"><img src="images/t_33.gif" width="10" height="7" alt="" border="0" /></td>
</tr>
<tr>
<td height="10"><img src="images/t_41.gif" width="10" height="10" alt="" border="0" /></td>
<td background="images/t_fon_bot.gif"><img src="images/t_42.gif" width="6" height="10" alt="" border="0" /></td>
<td background="images/t_fon_bot.gif" align="right"><img src="images/t_44.gif" width="6" height="10" alt="" border="0" /></td>
<td ><img src="images/t_45.gif" width="10" height="10" alt="" border="0" /></td>
</tr>
</table>
</form></th>
</tr>
</table></td>
</tr>
</table>