limit database view to just today's detections
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user