SELECT * FROM dz_pop_windows WHERE brand='default' AND (site_code='ABEA' OR site_code='') AND (page_name='' OR page_name='locations/king's_l') ORDER BY rank ASC
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 's_l') ORDER BY rank ASC' at line 7