Unknown column 'resources' in 'where clause': SELECT * FROM blog_posts WHERE id=resources