$chow = 3;
echo ($chow == 1) ? "one" : ($chow == 2) ? "two" : "three";
output: three
$chow = 1;
echo ($chow == 1) ? "one" : ($chow == 2) ? "two" : "three";
output: two
Can anyone explain why the output is "two" when $chow = 1 instead of "one"?