Any number of POST variables into an array
<p>Might seem like a stupid question, but I'm having an issue creating an array from multiple POST variables. They are coming from a jQuery form that can have any number of variables. It can be 1 of 2 options, name or school.</p>

<p>For example: <code>$_POST['name1']</code>, <code>$_POST['school2']</code>, <code>$_POST['name3']</code>, <code>$_POST['name4']</code>, etc.</p>

<p>Is there a way to get the max number of variables and put each variable into an array? Or is there a better way of doing this?</p>

<p>Any input is appreciated.</p>
