<form method="POST" action="test.php" name="form1" id="form1" >
<table class="tab1 datatable" border="1" width="1200" cellspacing="0" cellpadding="1" id="table">
<tr>
<? foreach($fields as $v){ ?>
<td>
<b><?=$translates[$v] ?></b>
</td>
<?}?>
</tr>
<tr>
<?
foreach($row as $k=>$val){
foreach ($val as $value=>$last){
if($value=='maccept1' || $value=='maccept2' || $value=='micur' || $value=='mitmp')
{
?>
<td class="mult" data-id="<?=$val[id]?>" data-name="<?=$value?>" ><?=$last?>
<
</td>
<?
}
else
{
?>
<td class="chenge" data-id="<?=$val[id]?>" data-name="<?=$value?>" ><?=$last?>
</td>
<?
}
}
?>
<td>
<input type="hidden" name="star" value="<?=$val['mitmp']?>">
<input type="hidden" name="idi" value="<?=$val['id']?>">
<button type="submit" name="relog">Ok</button>
</td>
</tr>
<?
}
?>
</table>
</form>
<form method="POST" action="test.php" >
// тут ваша строка таблицы со скрытыми полями и кнопкой
</form>