I have an IF-Statement which is ALWAYS true. It is not related to other (similar) issue I found here, that's why I posted it again.
Please see:
$us1 = $res->C147;
$us2 = $res->C153;
if($us1 == $us2){
$resArr[$i]["updated"] = "SAME";
}else{
$resArr[$i]["updated"] = "DIFFERENT";
}
No matter what I enter for $us1 and/or $us2 it will always be "SAME".
$res->C147
& $res->C153
are 3 letter strings such as "BRR" or "TOW", coming from an XML. Not sure if relevant:
<C147>LIE</C147>
<C150>2</C150>
<C153>BRR</C153>
Any ideas?