| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/clients/client1/seaside.pacim.de/web/time/project/ |
Upload File : |
<?php
include 'config.php';
$id = $_POST['id'];
$employee_id = $_POST['employee'];
$date = $_POST['date'];
$start_time = $_POST['start_time'];
$end_time = $_POST['end_time'];
$break_duration = $_POST['break_duration'];
// Pausenzeit in HH:MM:SS umwandeln
$break_duration_formatted = sprintf('%02d:%02d:00', floor($break_duration / 60), $break_duration % 60);
$sql = "UPDATE work_hours SET employee_id='$employee_id', date='$date', start_time='$start_time', end_time='$end_time', break_duration='$break_duration_formatted' WHERE id='$id'";
$conn->query($sql);
header('Location: details.php');
?>