I am building a search using PHP which searches for cities in a state. My question is how do I get my search to catch this situation...
If someone searches for Highland in the state of TX (for example)... it should return Highland Park and Highland Village... Also... my states are in a drop down list, but what if someone enters Dallas, TX... how do I get it to recognize the Dallas and ingnore the TX... or better yet... how do I get it to recognize TX as a state and Dallas as the city?
2006-08-02
05:12:49
·
2 answers
·
asked by
Duds331
5
in
Computers & Internet
➔ Programming & Design
And the like operator is not doing it. It is catching extra letters for example... Ddallass and missing letters like dallas, but not what I am wanting it to do by catching Highland and finding Highland Park and Highland Village.
2006-08-02
05:24:43 ·
update #1