SELECT * FROM cds_category_master WHERE category_id =Mg==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 1SELECT * FROM cds_image_master WHERE category_ref_id =Mg== AND is_set_main = 'Y'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 is_set_main = 'Y'' at line 1