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-28 23:01:26' ORDER BY Year ASC, Week' at line 1