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 'images/categories/15/3.jpg''' at line 1
Query: SELECT `id`, `alt_url`, 'categories' as `table` FROM `ap_categories` WHERE `alt_url`='images/categories/15/3.jpg'' OR `alt_url`='images/categories/15/3.jpg''
/images/categories/15/3.jpg'