SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1770709089 and hide='n' and checked='y' and gid IN (3909,5950,6373,6620,6709,7416,8237,8732,8756,8793,8874,10630,1589351186,51186,51195,51196,51197,51199,51201,51214,)
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