You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$sql = "SELECT COUNT(*) FROM mytable WHERE Time_Stamp BETWEEN DATE_SUB('$value', INTERVAL 1 MINUTE) AND '$value' AND Check_Status='1'";
//$sql = "SELECT COUNT(*) FROM mytable WHERE Time_Stamp BETWEEN DATE_ADD('2023-03-24 09:10:00', INTERVAL -1 MINUTE) AND '2023-03-24 09:10:00' and Check_Status='1'";