my $knd_id = $input->param("knd_id"); my $status_temp = $input->param("status_temp"); my $Monat = $input->param("Monat"); my $Jahr = $input->param("Jahr"); my $q = "UPDATE VERBRAUCH SET TEMP_STATUS = '$status_temp' WHERE (KUNDE_ID = $knd_id AND MONAT = $Monat AND JAHR = $Monat);";