This commit is contained in:
2024-02-16 12:14:45 +01:00
parent 7f182932a7
commit 8dec0e4aa8
4 changed files with 114 additions and 62 deletions

View File

@@ -1,7 +1,8 @@
<?php
$control = $_POST['control'];
$runner_id = $_POST['id'];
$time = $_POST['time'];
$file = 'passering.csv';
$current = file_get_contents($file);
$current .= $runner_id . ", " . $time . "\n";
$current .= $control . ", " . $runner_id . ", " . $time . "\n";
file_put_contents($file, $current);