Apr-07-2021, 10:31 PM
I updated the SQL Statement it complains on %s. If I hard code the value 2 it works?
SELECT usertimein FROM userstimeclock WHERE userid = %s AND usertimeout IS NULL ORDER BY timeclockid DESC LIMIT 1