Simplified thanks to Excel's godawful boolean functions:
PHP Code:
if (($_REQUEST['p'] and $_REQUEST['postid']) or !($_REQUEST['p'] and $_REQUEST['postid']))
Doesn't make sense what you're trying to do:
Code:
a b a xor b not (a xor b)
TRUE TRUE FALSE TRUE
TRUE FALSE TRUE FALSE
FALSE TRUE TRUE FALSE
FALSE FALSE FALSE TRUE
If we were dealing strictly with booleans instead of this stupid PHP typeless system, it would be as blissfully simple as:
PHP Code:
if ($_REQUEST['p'] == $_REQUEST['postid'])