Log in

View Full Version : Search form


kalisekj
10-26-2007, 12:29 AM
Hello,

I added search form to side column which show on all my pages:
<form method="get" action="search.php">
<input type="text" name="q" size="25"
maxlength="255" value="" />
<br style="line-height:5px" />
<input type="submit" value="Search" />
</form>

But this form take users to Search Forums: /forums/search.php?q=free
and I need form or code which will show the results after the search.

Please help.

Thank you.

calorie
10-26-2007, 01:32 AM
Try adding the following to the form:

<input type="hidden" name="do" value="process" />

kalisekj
10-26-2007, 01:46 AM
Its working...:up: Thank you very much. :)