Hi there,

I would like to compare 2 strings.

I do always get a 0 return (not equal) but they are difinatelly equal,  I
double checked it. They are just in two different vars.

Here is how I did it:

 if (strcmp($city, $city_new) != 0) $error = true;

Does anybody see the error? Or am I going the wrong way?


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to