PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 01-28-2004, 01:51 PM   #1
rafo2001
Green Mole
 
Join Date: Jan 2004
Location: La Paz - Bolivia
Posts: 1
Re-search restricted to one site only

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
rafo2001 is offline   Reply With Quote
Old 01-29-2004, 06:56 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Site and Internet Search twizzlermambo Coding & Tutorials 0 07-29-2007 05:42 PM
Site search priority djuritz How-to Forum 0 06-12-2006 10:39 AM
Show search results in other site cnit Troubleshooting 6 08-20-2004 01:11 PM
As I can index archives with access restricted with password? zertiko How-to Forum 7 07-24-2004 08:07 AM
Site search TiM How-to Forum 3 04-05-2004 06:56 PM


All times are GMT -8. The time now is 02:43 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.