heres the outline of what u have to do. in a hidden field u need to have the count of rows and post it...so lets assume ur $POST['total_rows'] has the no of rows.
for ($counter=0;$counter<$_POST['total_rows'] ;$counter++)
{
// the update query...
mysql_query("Update USERS set name='". $_POST['name_'. $counter] . "', value='" . $_POST['value_'. $counter] . "' where id='" . $_POST['id_'. $counter] . "'");
}
here i assume that each ID, Name, and Value textfield in the HTML form is named as id_0,name_0 and value_0 and so on. u can create any other easily usable name.
hopefully it solves ur prob.