Convert associative array into indexed
<p>Ive seen a few examples by using array_values, but cant quite make out how to get it to work...</p>

<p>I have an associative array thats passed via POST, I need to convert it into a indexed array...</p>

<p>My print_r($_POST) gives me this... I need all of this put into an indexed array :)</p>

<pre><code>Array (
    [fieldnames] =&gt; 36771X21X198|36771X21X199|36771X21X200|36771X21X201|36771X21X202 
    [36771X21X198] =&gt; 3434343
    [display36771X21X198] =&gt; on
    [36771X21X199] =&gt; 5656565
    [display36771X21X199] =&gt; on 
    [36771X21X200] =&gt; 89898989 
    [display36771X21X200] =&gt; on 
    [36771X21X201] =&gt; 90909090 
    [display36771X21X201] =&gt; on 
    [36771X21X202] =&gt; 12121212 
    [display36771X21X202] =&gt; on 
    [move] =&gt; movesubmit 
    [move2] =&gt; ONLINE Submit 
    [thisstep] =&gt; 1 
    [sid] =&gt; 36771 
    [token] =&gt; 1234567890
) 
</code></pre>
