Proper way to order query string conditions
How are query strings ordered by hierarchy (in backend).  How do you know which one should be instantiated?  What is a good way to set up conditions for this?  For example in facebook you can have two arguments:<br /><br />
http://www.facebook.com/profile.php?id=49300915&sk=photos
OR one
http://www.facebook.com/profile.php?id=49300915<br /><br />
What is a good way to organize this?
Like would

    <?php
    
          if(isset($_GET['id'], $_GET['sk'])) {
        // Query...
        } else if(isset($_GET['id']) {
        // Query...
        }
        
        ?>

- I put the 2 args before the 1 arg so the 1 arg doesn't override the 2 args if the 1 arg isset (weird sentence there...).
<br /><br />--- How should this be ordered when you have tons of $_GET['variables']?  If I had 5 different arguments that could be passed, How would I order the conditions for which query is fired.


Proper way to order query string conditions
===

How are query strings ordered by hierarchy (in backend).  How do you know which one should be instantiated?  What is a good way to set up conditions for this?  For example in facebook you can have two arguments:<br /><br />
http://www.facebook.com/profile.php?id=49300915&sk=photos
OR one
http://www.facebook.com/profile.php?id=49300915<br /><br />
What is a good way to organize this?
Like would

    <?php
    
          if(isset($_GET['id'], $_GET['sk'])) {
        // Query...
        } else if(isset($_GET['id']) {
        // Query...
        }
        
        ?>

- I put the 2 args before the 1 arg so the 1 arg doesn't override the 2 args if the 1 arg isset (weird sentence there...).
<br /><br />--- How should this be ordered when you have tons of $_GET['variables']?  If I had 5 different arguments that could be passed, How would I order the conditions for which query is fired.

