Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Help with search cgi

Quote Reply
Help with search cgi
I wanna make it so the default search process goes by OR CONNECTOR instead of AND CONNECTOR. If anyone knows what im talking about and can help me that would be great.

------------------
Steven Mooradian
Webmaster,www.gnuspy.com
Quote Reply
Re: Help with search cgi In reply to
All you have to do is add a hidden field to your search form:

Code:
<input type="hidden" name="bool" value="or">

The search.cgi script is defaulted to the "and" value for the boolean option.

Hope this helps.

Smile

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Help with search cgi In reply to
Thanks alot, ive been looking do that for a while.


------------------
Steven Mooradian
Webmaster,www.gnuspy.com