MySQL Error
Message: sql error:
SQL: SELECT * FROM oelv_pre_photo WHERE photoid IN (9839,9840,9841,9842,9843,9844,9845,9846,9847,9848,9849,9850,9851,9852,9853,9854,9855,9856,9857,9858,) AND `flag`='1'
Error: 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 ') AND `flag`='1'' at line 1
Errno.: 1064