La til løpertabell

This commit is contained in:
2024-02-12 21:23:13 +01:00
parent 751e4c2425
commit 7f182932a7
2 changed files with 60 additions and 10 deletions

View File

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