limit database view to just today's detections

This commit is contained in:
Patrick McGuire
2021-10-22 10:07:01 -04:00
parent 93b86cca5a
commit 69943ab685
+2 -2
View File
@@ -22,8 +22,8 @@ $fulltable = $mysqli->query($sql);
$totalcount=mysqli_num_rows($fulltable);
$sql1 = "SELECT * FROM detections
ORDER BY Date DESC, Time DESC
LIMIT 500";
WHERE Date = CURDATE()
ORDER BY Date DESC, Time DESC";
$mosttable = $mysqli->query($sql1);
$sql2 = "SELECT * FROM detections