title: Creating an array without keys in a loop
body: <p>This might be a brain fart, since it's a late day, but I'm stuck here.</p>
  
  <p>I need to take a $_POST value from a select box. (It's an array), and convert it to a simple array that doesn't have any keys.</p>
  
  <p>Here's the print_r from the item:</p>
  
  <p><code>Array ( [0] =&gt; 19 [1] =&gt; 18 [2] =&gt; 21 )</code></p>
  
  <p>Problem is, I need an array that looks like this:</p>
  
  <p><code>Array(19,18,21)</code></p>
  
  <p>Whenever I try to foreach() through the form field, I have to do something like this:</p>
  
  <p><code>$row[] = $val;</code></p>
  
  <p>But that leaves me with a numerical index.</p>
  
  <p>What am I missing?</p>
  
  <p>Thanks.</p>