title: array_combine(); not producing values properly
body: <p>EDIT: Alright, my original post was kinda confusing, I've also tried something new. Here's my code:</p>
  
  <pre><code>if($_POST['submit']=='Save'){
      $_SESSION['quantity'] = $_POST['quantity'];
  
      $_SESSION['order'] = array_combine($_SESSION['parts-order'], $_SESSION['quantity']);
  
     header("Location: shopping.php");
      exit;
  }
  </code></pre>
  
  <p>Both $_SESSION arrays are 430 long, both containing strings. When I print_r() on both $_SESSION arrays separately, they return their expected values. Basically, when I combine the arrays, I expect this output:</p>
  
  <pre><code>Array
  (
      [1 inch ratchet tie down] =&gt; 13
      [24" White Ring Buoy w/ Reflective Tape] =&gt; 4
      [50' Throw Line w/bag] =&gt; 5
      [Classic Shirt Large] =&gt; 0
      ...
  )
  </code></pre>
  
  <p>Y'know, or whatever values are in $_SESSION['quantity']. I, instead, get this:</p>
  
  <pre><code>Array
  (
      [1 inch ratchet tie down] =&gt; 0
      [24" White Ring Buoy w/ Reflective Tape] =&gt; 0
      [50' Throw Line w/bag] =&gt; 0
      [Classic Shirt Large] =&gt; 0
      ...
  )
  </code></pre>
  
  <p>Unless each of the $_SESSION['quantity'] values is the same, it produces 0. How do the values get changed to 0 in the process of array_combine?</p>
  
  <p>Thanks.</p>