SyntaxFix
Write A Post
Hire A Developer
Questions
i guess the simplest way which doesn't require any operators is
if($_GET){ //do something if $_GET is set } if(!$_GET){ //do something if $_GET is NOT set }