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 'LIMIT 1' at line 1


UPDATE games SET plays=plays+1, today_plays=today_plays+1 WHERE id= LIMIT 1