Select Query Error -> select a.blogId, a.blog_title,a.short_description,a.keywords, a.image, a.description,a.tags, a.postdate,DATE_FORMAT(a.postdate,'%d') as blogdt,DATE_FORMAT(a.postdate,'%b'' %y') as blogmonyr,b.categoryName, a.catParent_id from tbl_blogs as a left join category as b on b.category_id=a.catParent_id where a.page_url='why-you're-not-losing-the-belly-fat' and a.status=1-->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 're-not-losing-the-belly-fat' and a.status=1' at line 2