http://qs321.pair.com?node_id=11118784


in reply to Multiple numeric not or compare in if statement

if (($a != 3) || ($a != 77) || ($a != 8))

Try instead:
if (($a != 3) && ($a != 77) && ($a != 8))

Cheers,
Rob