writing a php function to verify data in an array
<p>How would i go about writing a function that would handle the data in an array?</p>

<p>What i mean is, can i use</p>

<pre><code>function CheckStuff($_POST){}
</code></pre>

<p>instead of</p>

<pre><code>function CheckStuff($_POST['var1'], $_POST['var2']){}
</code></pre>

<p>Reason im asking is i need the function to work through all the values stored in the array and there are quite a few.</p>
