SHOW:
|
|
- or go back to the newest paste.
1 | - | if(isset($_POST['edays'])) { |
1 | + | if(isset($_POST['edays'])) { |
2 | - | |
2 | + | foreach($_POST['edays'] as $id=>$value) { |
3 | - | foreach($_POST['edays'] as $id=>$value) { |
3 | + | mysql_query("UPDATE studentcourseplanelements SET scpe_estimated_days='$value' WHERE scpe_id = '$id'") |
4 | - | |
4 | + | } |
5 | - | mysql_query("UPDATE studentcourseplanelements SET scpe_estemated_days='$value' WHERE scpe_id = '$id'") |
5 | + | } |