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 item_type=2001 AND related_type=1003' at line 3

SELECT related_id FROM rel_item_related WHERE 1=1 AND item_id= AND item_type=2001 AND related_type=1003;