title: Post method sending to next page
body: <p>how do I send a get query string to the next page? I know the format for what the query string should be I just don't understand the actual process of redirecting to the next page.</p>
  
  <p>instead of something like an <code>href</code> but one that you don't have to click on for it to send the query string to the next page.</p>
  
  <pre><code>&lt;?php 
  
  ///receiving from page1 and storing as variable
      $firstname = $_POST['firstname'];
      $lastname = $_POST['lastname'];
      $city = $_POST['city'];
      $state = $_POST['state'];
      $age = $_POST['age'];  
  
  //quarry string with firstname and lastname
      page3.php?firstname=&lt;?php echo $firstname;?&gt;&amp;lastname=&lt;?php echo $lastname;?&gt;
  </code></pre>