SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776388125 and hide='n' and checked='y' and gid IN (231,243,517,1043,1442,3123,7178,9340,11055,11067,11801,14756,17895,21439,21642,21862,23607,24028,24120,24459,24821,25326,26256,26378,26393,32925,33410,33893,34539,231231,231,)
error: 1064 , You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1