View Single Post
  #39  
Old 12-27-2003, 12:56 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

you could change the line in the files that is:

Code:
if(empty($and))$and = "OR"; $substring_query = (!empty($con)) ? " AND (".join(" ".$and." ",$con).") " :" 1 ";

to

Code:
if(empty($and))$and = "AND"; $substring_query = (!empty($con)) ? " AND (".join(" ".$and." ",$con).") " :" 1 ";

That will mean that both words have to be present to return the results and will work out far more accurate for your purposes.
__________________
ex x-cart guru
Reply With Quote