I'm using the code below to perform a custom search of my site, It currently searches the whole site but i want to limit it to searching one Category and its sub Categories.
It will make more sense when you see the page its used on:
http://www.impact-computers.co.uk/shop/pages.php?pageid=7
Can anyone help?
Code:
<p><FORM method="POST" action="search.php" name="productsearchform">
<div align="center">
<p>
<INPUT type="hidden" name="simple_search" value="Y">
<INPUT type="hidden" name="mode" value="search">
<INPUT type="hidden" name="posted_data[by_title]" value="Y">
<INPUT type="hidden" name="posted_data[by_shortdescr]" value="Y">
<INPUT type="hidden" name="posted_data[by_fulldescr]" value="Y">
<input type="hidden" name="posted_data[by_quickfind]" value="Y" />
<strong>Enter Printer Name or Cartridge Number Below: </strong></p>
<p>
<INPUT type="text" name="posted_data[substring]" size="16" style="border:1px inset #cccccc; color:#000000; background:#cccccc; width:128px;">
</p>
<p>
<input type="submit" value="Search">
</p>
</div>
</FORM>