A Database Error Occurred
Error Number: 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 ') AND pc.id=p.cat_id GROUP BY pc.id ORDER BY pc.sort ASC , pc.update_d' at line 3
SELECT pc.title,pc.title_en,pc.id,p.image FROM photo AS p JOIN photo_cat AS pc ON pc.id IN () AND pc.id=p.cat_id GROUP BY pc.id ORDER BY pc.sort ASC , pc.update_date DESC