SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362402 and hide='n' and checked='y' and gid IN (498,2649,3100,4263,7730,7795,10220,11151,11157,11972,12076,12417,12437,13573,20405,22603,24969,32885,36525,498498,498,)
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