Re: Comparing Strings
| From: | Henrique Flach Latorre Moreno | Date: | Mon, 25 Mar 2002 13:00:53 +0000 |
| Subject: | Re: Comparing Strings | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17883@lists.php.net to get a copy of this message | ||
You could use the eregi() using regular expression,
it's probably the best way
see how 2 use in the http://www.php.net
At 11:59 25/03/02 +0100, you wrote:
Whats the best way to compare 2 strings (city names - one in db one user entry) At the moment I'm thinking to do the following ; strip spaces convert to lower and then compare ! Has anyone got any better/other suggestions ?? regards John -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpHenrique Flach Latorre Moreno Smart Tech Consulting www.smartech.com.br Av. Rio Branco 181, 1005 Centro - Rio de Janeiro - RJ Tels : (21) 2532-6335