View Single Post
Old 03-28-2005, 09:50 AM   #2
bloodjelly
Purple Mole
 
Join Date: Dec 2003
Posts: 106
Hi b-online -

To add a search box to the front page, you just have to add a form, like so:
Code:
<form method="get" action="search/search.php">
<input type="text" name="query_string" size="12" maxlength="50" /><br />
<input type="submit" name="search" value="Go" />
</form>
So, to make the form point to the search page, and take the user there when he clicks the submit button, just change the "action=" part to point to the search script.

Let me know if you have any questions.
bloodjelly is offline   Reply With Quote