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