i want this form to loop through counting the number of people in d table and geting the next name after submiting the first. i really need help
[<?php $getcat = mysql_query("SELECT * FROM stud_registration where entry_class ='$g'");
$rss=mysql_fetch_array($getcat);
?>
<table width="549">
<tr>
<td height="123" valign="top"><form id="form1" method="post" action="control.php?my=addscore">
<table width="541" cellpadding="0" cellspacing="1">
<tr>
<td height="12" colspan="4"><strong>Name:</strong> <? echo $rss['title']; ?> <? echo $rss['surname']; ?> <? echo $rss['middlename']; ?> <? echo $rss['firstname']; ?></td>
<td colspan="3"><strong>Term:</strong> <? echo $rss['entry_term']; ?><? echo $cou;?></td>
</tr>
<tr>
<td height="13" colspan="4"><strong>Userid:</strong> <? echo $rss['userid']; ?></td>
<td colspan="3"><strong>Session:</strong> <? echo $rss['entry_session']; ?></td>]