You Searched for:"; if (!IsSet($search)){ $instruct='AND is the default. That is, a search for car and tire returns all messages that contain those words anywhere.

QUOTES (") allow searches for phrases. That is, a search for "car tire" returns all messages that contain that exact phrase, with space.

MINUS (-) eliminates words. That is, a seach for car and -tire returns all messages that contain car but not tire. You can MINUS a phrase in QUOTES, like car -"old tires".

The engine is not case-sensitive and searches the title, body, and author.

Search For:'; $search=""; } $search=stripslashes($search); $searchtext = htmlentities($search); include "forumstuff.html"; $sTitle=" search"; include "header.inc"; echo "\n\n"; ?>
 Search
     
\n"; $tokNum++; } } echo "

"; $fields[] = "body"; $fields[] = "topic"; $fields[] = "name"; $SQL = "Select id,topic,name,datestamp,thread from $sTable WHERE ("; for($i=0; $i\n"; mysql_select_db($sDB); $nTopics = mysql_query($SQL); //$nTopics = mysql_db_query($sDB, $SQL, $nConnection); $nRows = mysql_num_rows($nTopics); if($nRows>0){ include "threads.inc"; } else{ echo "$lNoResult"; } } echo "

\n

"; include "footer.inc"; ?>