aster than eregi().
Regards,
Andrey Hristov
- Original Message -
From: "John Fishworld" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 25, 2002 12:59 PM
Subject: [PHP-DB] Comparing Strings
> Whats the best way to compare 2 strings (city names
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 s
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