|
Correct, so if it's 1, the first variation will result in true and not show the footer.
if true or true = true (id = 5)
if true or false = true (id = 23)
if false or true = true (id = 1)
if false or false = false (an impossible case since the value can't be 1 and 23 at the same time)
Using and:
if true and true = true (id = 5)
if true and false = false (id = 23)
if false and true = false (id = 1)
if false and false = false (impossible case, id can't be both 1 and 23)
|