<form action="control/updataGroupControl.php">
<table class="imagetable">
<?php for ($i=2;$i<$tableSize;$i++){?>
<tr>
<th>分组<?php echo $i-1;?></th>
<td><input type="text" name="<?php echo "tableName".($i-1);?>" value="<?php echo $tableNamesArray[$i]; ?>" /></td>
<td><input type="submit" name="submit" value="修改" /> <input type="reset" value="重置" /></td>
</tr>
<?php }?>
</table>
</form>
<?php
echo array_search("submit",array_keys($_REQUEST),true);
?>