Commit a9f885ca authored by Jasin's avatar Jasin

Testing SQL

parent d28999d4
......@@ -14,6 +14,7 @@ else
require ("db.php");
$sql = 'select CAST(created AS DATE) as \"created\", SUM(delay) as \"delays\" from where lineLabel = ' . $lineLabel . ' group by CAST(created AS DATE) limit ' . $amount;
$res = mysqli_query($conn, $sql);
if ($conn->errno)
......@@ -30,6 +30,8 @@
<div class="step step2 hidden">
<div class="input-group">
<label for="Time">Zeitraum</label>
<small>Anzahl der Tage seit dem Start der Aufzeichnungen</small>
<input type="number" placeholder="10" name="Time" id="Time">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment