I have a page that displays an include depending on language selected. It works perfectly in Classic ASP, but I have converted to PHP and it is ignoring the IF condition completely. For example:
if ($Lang = "AR") {
include 'inc_default_ar.php';
} elseif ($Lang = "CN") {
include 'inc_default_cn.php';
} elseif ($Lang = "CS") {
include 'inc_default_cs.php';
} else {
include 'inc_default_en.php';
}
Even though $Lang = "EN"
it somehow displays the AR include, even though it is not a match.