Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] HowTo: Array/multiple words in POST that goes to a searchfunction
#2

[eluser]thinkigniter[/eluser]
Interesting...
I've never had to do a multi word search script so where both learning here.
So it works for one work but not many.

Lets say where looking for duke nukem

Well $keyword isn't {explode}d so it's only looking for a single word duke nukem with the space?

or one work "dukenukem".

What if we explode the $keyword and look in the format of LIKE 'duke' AND LIKE 'nukem'

therefor looking for both words in a result.

Then look for individual results or_like('duke'), or_like('nukem')

What do you think?


Messages In This Thread
[SOLVED] HowTo: Array/multiple words in POST that goes to a searchfunction - by El Forum - 07-20-2008, 12:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB