"UPDATE employee_tb SET LoginStatus = '0', LastUpdate = '0000-00-00 00:00:00' WHERE LoginStatus = '1' AND DATEADD(LastUpdate, INTERVAL $intRejectTime MINUTE) <= NOW() ";
ขึ้นอย่างนี้คับ
MySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') <= NOW()' at line 1
Query: