SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362500 and hide='n' and checked='y' and gid IN (749,2281,3241,3784,3999,7108,7150,8000,8677,9295,9783,10778,10805,11185,11193,14513,18064,18167,18355,18515,18627,20001,21046,23795,23797,24069,25079,30793,32886,749749,749,)
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