verlaufsgrafik
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
require("../config.php");
|
||||
|
||||
$strSQL="SELECT d.title as Kreis,
|
||||
district,
|
||||
SUM(UJAHR=2022) as Jahr_2022,
|
||||
SUM(UJAHR=2021) as Jahr_2021,
|
||||
SUM(UJAHR=2020) as Jahr_2020,
|
||||
@@ -106,7 +107,7 @@ $result=$db->query($strSQL);
|
||||
|
||||
while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
|
||||
echo "<tr>";
|
||||
echo "<td>".$row['Kreis']."</td>";
|
||||
echo "<td><a href='../index.php?d=".$row['district'],"'>".$row['Kreis']."</a></td>";
|
||||
echo "<td class='l'>".$row['Jahr_2022']."</td>";
|
||||
echo "<td>".$row['Jahr_2021']."</td>";
|
||||
echo "<td>".$row['Jahr_2020']."</td>";
|
||||
@@ -133,7 +134,7 @@ while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
|
||||
|
||||
<script>
|
||||
let table = new DataTable('#unfallzahlen',{
|
||||
pageLength : 25
|
||||
pageLength : 10
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user