Quote:
Originally Posted by MarcoH64
Just copy the code for the standard Quick Search, and adopt to your needs.
|
first of all thanx for the support
Let me make clear that I want to put the search form on a page outside the forum - actually on a VBadvanced page...
here is the code I have put:
Code:
<smallfont><form action="http://www.electrowave.gr/forum/search.php?forumid=29" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="forumchoice" value="- 1" /><input type="hidden" name="searchin" value="subject" /><input type="hidden" name="searchdate" value="-1" /><input type="hidden" name="action" value="simplesearch" /><input type="hidden" name="booleanand" value="yes" />
<input class="search" onFocus="this.value='';" type="text" name="query" value="search..." size="15" maxlength="150"/>
<input type="hidden" name="action" value="simplesearch">
</form></smallfont>
but it has one problem
instead of searching the forum
it just redirects to the Search.php with the keyword inserted in the search field...
which is the standard quick search code?