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 'Month = 'January' and shootdate >= '2016-08-24 22:58:10' ORDER BY Year ASC, Week' at line 1