help regarding search

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amitsri
Forum Newbie
Posts: 14
Joined: Fri Aug 18, 2006 6:16 am

help regarding search

Post by amitsri »

hello i have been trying to implement a search based on the city name,country name,state name and subjects.
But the problem is that these may appear in any order in the search text and i am getting it difficult to extract distinctly the name of the city,state,country and subject in the search string. lets say someone search for New York City,usa Maths;usa New york city maths or any combination of these. this search works fine in case the city name,country name or subject name consists of a single word. can anyone help to find solution for this kind of search.
Post Reply