SELECT * FROM blogs WHERE SUBSTRING(date_created,4,7) = '06/2016' Blog
Get a Quote Today
SELECT * FROM blog_comments WHERE blog_id = AND approved = '1' ORDER BY date_createderror retrieving commentsYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND approved = '1' ORDER BY date_created' at line 1