I cannot select a row to edit in the repearter. How can i update correctly to the database?
Thank you
<?php do { ?>
<tr>
<td height="42" bgcolor="#FFFF99"><div align="center"><?php echo $row_Recordset1['student_e']; ?></div></td>
<td bgcolor="#FFFF99">
<form id="form1" name="form1" method="POST" action="<?php echo $editFormAction; ?>">
Present
<label>
<input <?php if (!(strcmp($row_Recordset1['present_time'],"1"))) {echo "checked=\"checked\"";} ?> type="radio" name="myradio" id="present" value="1" />
</label>
Late
<label>
<input <?php if (!(strcmp($row_Recordset1['present_time'],"2"))) {echo "checked=\"checked\"";} ?> type="radio" name="myradio" id="late" value="2" />
</label>
Leave Early
<label>
<input <?php if (!(strcmp($row_Recordset1['present_time'],"3"))) {echo "checked=\"checked\"";} ?> type="radio" name="myradio" id="early" value="3" />
</label>
Absent
<label>
<input <?php if (!(strcmp($row_Recordset1['present_time'],"4"))) {echo "checked=\"checked\"";} ?> type="radio" name="myradio" id="absent" value="4" />
</label>
<input type="submit" name="submit" id="sumbit" value="sumbit" />
<input type="hidden" name="MM_update" value="form1" />
</form>
</td>