Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • OK mylagoon basically to add the categories to the end of the search term you need to add a hidden field with the values that you want added to the string. The script to use would be like this:

    <form id=”searchform” method=”get” action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”>

    <input type=”text” name=”s” id=”s” size=”20″ value=”search in blog…” />
    <input type=”hidden” name=”cat” value=”4,13,22″ />
    </form>

    It would be the last input tag that would do it for you
    “<input type=”hidden” name=”cat” value=”4,13,22″ />”

    Hope this helps.

    Thread Starter th3rmite

    (@th3rmite)

    Well I’m using a windows based server. So I’m not sure how to link two files together on it. I don’t know what I was thinking when I got a win server. Oh well.

Viewing 2 replies - 1 through 2 (of 2 total)