How to compare 2 strings in PHP
I hawe 2 array where I have only string values some values in both arrays
are same but if command don't send me a good result.
e.g

foreach ($array1 as $a1) {
  foreach($array2 as $a2){
   if ($a1 == $a2) echo "good";   //never system send me a good result
     else echo "bad;
  }
}


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

Reply via email to