VerblijfVanafTotMaandNotitie"; $out .="
Hokling"; $out .="Mielgong"; $out .="Jister"; $out .=""; $out .=""; $out .=""; $out .=""; $out .="
"; echo "".$out; } else { $_POST['from_day']=$_POST['from_day']-1; $_POST['till_day']=$_POST['till_day']+1; if ($_POST['room1']==true){ $note='note_1'; $status='status_1'; } if ($_POST['room2']==true){ $note='note_2'; $status='status_1'; } if ($_POST['room3']==true){ $note='note_3'; $status='status_1'; } if (!empty($_POST['note'])){ $text="UPDATE rooms SET $note = '$_POST[note]', $status='av' WHERE month = '$_POST[month]' AND day > $_POST[from_day] AND day < $_POST[till_day]"; mysql_query($text); } else { $text="UPDATE rooms SET $status = 'na' WHERE month = '$_POST[month]' AND day > $_POST[from_day] AND day < $_POST[till_day]"; mysql_query($text); } $out=""; $out .=""; $out .=""; $out .=""; $out .=""; $out .="
VerblijfVanTotMaand
Room 1"; $out .="Room 2"; $out .="Room 3
"; $out .=""; echo "".$out; } } ?>