title: PHP Switch Nav system - how can i set it up to use 2 GET variables
body: <p>I use a the following PHP switch for my navigation menu:</p>
  
  <pre><code>&lt;?php include("header.php"); 
      if (! isset($_GET['page']))
      {
          include('./home.php');
  
      } else {    
          $page = $_GET['page'];  
          switch($page)
          {
              case 'about':
                  include('./about.php');
                  break;  
              case 'services':
                  include('./services.php');
                  break;  
              case 'gallery':
                  include('./gallery.php');
                  break;      
              case 'photos':
                  include('./photos.php');
                  break;  
              case 'events':
                  include('./events.php');
                  break;  
              case 'contact':
                  include('./contact.php');
                  break;
          }
      }
      include("footer.php"); 
      ?&gt;
  </code></pre>
  
  <p>When I go to my "Photos" section, I am going to have a sublist for other galleries within the photos.</p>
  
  <p>When I am on a page right now, my url looks like this:</p>
  
  <pre><code>index.php?page=photos
  </code></pre>
  
  <p>I would like to know what PHP code I need to add so when i go to the CARS section I can have my url look like this:</p>
  
  <pre><code>index.php?page=photos&amp;section=cars
  </code></pre>
  
  <p>?</p>