SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1752391465 and hide='n' and checked='y' and gid IN (,2217,2220,2235,2269,2329,2329,2340,2499,2514,2847,3000,3115,3216,3680,3700,3750,3751,3752,3783,3784,3789,3790,3791,3809,3823,3853,3865,3868,3877,3883,4279,4287,4417,4526,4527,4528,4538,4566,4569,4576,4578,4618,4646,4652,4656,4657,4663,4675,4677,4681,4686,4687,4688,4689,4700,4703,4848,4880,4900,4913,5172,5418,5421,5630,5632,580,1318,5998,6080,6083,6084,6516,6833,)
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 '2217,2220,2235,2269,2329,2329,2340,2499,2514,2847,3000,3115,3216,3680,3700,3750,' at line 1