title: How do I set HTML form values into SESSION variables?
body: <p>I have a html form with 16 fields (<a href="https://secure.high-speed-business-club.com//TEMPLATE-order-form-module/?affiliate=0" rel="nofollow">https://secure.high-speed-business-club.com//TEMPLATE-order-form-module/?affiliate=0</a>). </p>
  
  <p>What is the best way to capture all of these field values to be stored as SESSION variables? Can it be done with an array or best to assign each field to individual session variables one by one?</p>
  
  <p>I've tried with this code, but it is not working:</p>
  
  <pre><code>&lt;?php 
      if (isset($_POST['submit_btn'])) {
         $_SESSION['first_name'] = $_POST['Contact0FirstName']; 
      }
  ?&gt;      
  </code></pre>
  
  <p>Looking for some elaboration on a previously asked and subsequently closed question. Would love some more insight into how SESSIONs are supposed to work, hence I have asked a more direct question.</p>