Thread: Simple search
View Single Post
Old 12-23-2003, 07:19 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Just change the following in the config.php file:
PHP Code:
define('SEARCH_DEFAULT_LIMIT',10);      // results per page
define('SEARCH_DEFAULT_MODE','start');  // default search mode (start|exact|any) 
and then use something like the following HTML in the page:
Code:
<form action="CHANGE_ME/search.php" method="post">
  <table>
    <tr>
      <td><input name="query_string" type="text" size="35"></td>
      <td><input name="search" type="submit" value="Go"></td>
    </tr>
  </table>
</form>
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote