PDA

View Full Version : Re-search restricted to one site only


rafo2001
01-28-2004, 02:51 PM
Sorry for my english.
In my search.php i restricted the search to only one site depending on te userĀ“s choice.
It works fine.
But, in the results page, there is the search form again (generated automatically by the template form), and if the user uses it, the search is made in the entire database, overriding the previous filter.
How can I force the filter in the results page?

please look at http://www.sirese.gov.bo/busqueda.html

TX

Charter
01-29-2004, 07:56 PM
Hi. Perhaps try either putting the radio selection on the search results form or use a hidden variable so, for example, that <input name="filtro" type="radio" value="hidro"> is in the main search page and <input name="site" type="hidden" value="10"> is in the search results form.