SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776370400 and hide='n' and checked='y' and gid IN (477,755,1889,4158,9868,11589,12810,20345,20577,20929,22752,22800,26636,26774,27500,28230,30975,31742,31798,32303,33650,36353,477477,477,)
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