Во время выполнения запроса
SELECT * FROM `pages` WHERE `page` = '' b.imageSrc ''
произошла ошибка: 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 'b.imageSrc ''' at line 1