You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and website_content_identifier = 'SEARCH_RESULTS'' at line 1 - select website_content from website_content where website_id = and website_content_identifier = 'SEARCH_RESULTS'