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 ev_shops.a_status=0' at line 1
SELECT * FROM ev_shops LEFT JOIN ev_shop_design ON (ev_shops.id=ev_shop_design.ev_shopid) WHERE 1 and ev_shops.id= and ev_shops.a_status=0