prepare("SELECT COUNT(*) FROM detections WHERE Date == \"$theDate\""); $result1 = $statement1->execute(); $totalcount = $result1->fetchArray(SQLITE3_ASSOC); ?>
Total Detections For The Day


"; } else { echo "

No Charts for $theDate

"; } echo "
"; if (file_exists('./Charts/'.$chart2)) { echo ""; } else { echo "

No Charts For $theDate

"; }?>