syntax error: SELECT COUNT(*) AS visitip FROM table_counter WHERE ip='18.118.28.217' AND (tm+'900')>'1732166585'