Table 'counter' is marked as crashed and should be repairedsyntax error: SELECT COUNT(*) AS visitip FROM counter WHERE ip='3.143.239.63' AND (tm+'900')>'1735379592'