MySQL 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 dope_cat_id= AND dope_id < order by dope_id desc limit 0,1' at line 1
Query: SELECT d.title , d.dope_id FROM `gsw`.`gs_dope`AS d WHERE cat_id= AND dope_cat_id= AND dope_id < order by dope_id desc limit 0,1
Message: MySQL Query Error