View Single Post
Old November 13th, 2007, 1:57 AM   #8 (permalink)
MarkRH
Race Surpass
Super #1
 
MarkRH's Avatar
 
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,222 posts
Gave thanks: 18
Thanked 86 times
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)
MarkRH is offline   Reply With Quote