
Originally Posted by
laflair13
I want to add a search box on a website that searches the database and puts the results on a page like results.php or something.
As a side note, I never find that these work very well. Even though it's not as pretty, I prefer to put a Google search form on my sites. You get much more thorough results. E.g.
Code:
<form method="get" action="http://www.google.com/search">
<label for="q">Search this Site</label>
<input type="text" class="text" name="q" id="q" size="31" maxlength="255" value="">
<input class="submit" type="submit" value="Search">
<input type="hidden" name="sitesearch" value="mysite.com">
</form>
(Make sure to put your own domain in place of mysite.com.)
Bookmarks