PDA

View Full Version : Split up searched keywords


AlexLee
January 27th, 2005, 03:38 AM
How do I split up a phrase the user had entered in a textfield and search for them individually?

For example, a user enters "wireless mouse" in the searcg engine.
How do I make it such that it would be %wireless% and %mouse% instead of %wireless mouse%?

degsy
January 27th, 2005, 04:40 PM
What scripting language are you using?

AlexLee
January 28th, 2005, 01:07 AM
PHP and MySQL

degsy
January 28th, 2005, 03:30 AM
checkout the explode function

http://lists.evolt.org/archive/Week-of-Mon-20020708/117735.html

AlexLee
February 5th, 2005, 02:38 PM
Thanks! Solved my problem.