I have this on the first page:
returned results

it shows 2 groups with different ID and with different number of members. IT09 has 3 and IT10 has 4. when the "Evaluate" label is clicked, the page then proceeds here.
Those textboxes are declared in such a way like this:
<table>
$i=1;
while ($data = mysql_fetch_array($querys))
{
echo '<tr>
<td width="120">'.$data['thenames'].'</td>
<td width="50">
<input type="text" name="newSG'.$i.'" id="newSG'.$i.'" class="evaluation" value="'.$data[$toshow].'" onkeypress="return isNumber(event)" />
</td>
<td>
<input type="hidden" name="stud'.$i.'" id="stud'.$i.'" value="'.$data['memberID'].'" />
</td>
</tr>';
$i++;
}
</table>
As you can see, it creates a textbox and a hidden input with name and id with a number at the end. That's what i also want to happen on my php part.
I have this code
$ii = 1;
while ($data = mysql_fetch_array($qry))
{
$stud(here) = $_POST['stud'(and here)]; <<<<
$ii++
}
I want to declare variables using this loop . as you can see (here , andhere) I want that to have numbers 1,2,3 or depending on the number of records returned by my query. the problem here is that I want to declare something like $stud1, $stud2 and so on. I dont know how to add the value of the loop after the variable $stud. can someone help?

mysql_*).