Page 1 of 1

Multiple Word Searches

PostPosted: Tue Feb 01, 2005 1:52 pm
by TOPPER THE WONDERDOG
Where is the "PHRASE" coming from so I can take it from there.

I.e.: I am working to code it out to parse by spaces, insert '%wildcards%' around each word, add the spaces back in, and rejoin the string back into the original "searchPhrase" (if it's called that, still looking. thought I check a forum first.)

I noticed that if you put wildcards INTO the search ITSELF, it DOES FIND AND COMPLETE MULTIPLE WORD SEARCHES!!!

Any help would be appreciated.

Topdog@wonderdogsoftware.com
http://www.wonderdogsoftware.com

Addendum

PostPosted: Thu Feb 03, 2005 3:49 am
by TOPPER THE WONDERDOG
I am trying to change the QUERY string with an insert and I cannot find where 'q' becomes $q anywhere.

Why am I looking for it?

If you search for: "%World%%Warcraft%" it DOES find: World OF Warcraft for example. Even works with 3, 4, 5 words so long as they are in the correct order.

I just need to know either where $Q gets it's +'s between each word, OR where Q from the HTML form changes it to $Q (is it SEARCH.PHP??)

APPLIES TO MySQL searches, haven't checked others.

still loooking.............