PHP Detect if any URL variables have been set
<p>Hey guys, it's kind of hard to explain but basically I want to detect if any variables have been set through the URL. So with my IF statement all of the following should return true:</p>

<ul>
<li><a href="http://domain.com/index.php?m=100" rel="nofollow">http://domain.com/index.php?m=100</a>   </li>
<li><a href="http://domain.com/index.php?q=harhar" rel="nofollow">http://domain.com/index.php?q=harhar</a></li>
<li><a href="http://domain.com/index.php?variable=poo&amp;crazy=yes" rel="nofollow">http://domain.com/index.php?variable=poo&amp;crazy=yes</a></li>
</ul>

<p>and all the following return false:</p>

<ul>
<li><a href="http://domain.com/index.php" rel="nofollow">http://domain.com/index.php</a></li>
<li><a href="http://domain.com/test.php" rel="nofollow">http://domain.com/test.php</a></li>
<li><a href="http://domain.com/no_variables.php" rel="nofollow">http://domain.com/no_variables.php</a></li>
</ul>

<p>Any ideas?</p>
