First, I would like to thank you in advance for this script and any advice offered to me.
Ok, here is the problem. We have an existing search box and we are having problems getting it to work with Sphider. Right now, when someone enters a search term and searches, it just takes them to another search box, instead of running the initial search. Here is the code:
<form id="search-form" action="sphider/search.php" method="post" class="fright">
<div class="input">
<fieldset><input onFocus="if(this.value =='search' ) this.value=''" onBlur="if(this.value=='') this.value='search'" value="search" name="search"></fieldset>
<a onClick="document.getElementById('search-form').submit()" class="search-submit">search</a>
</div>
</form>