Invalid SQL: SELECT COUNT(*) AS newposts FROM vb_post WHERE dateline >= 08:44, 17th-May-2007 AND visible = 1; MySQL Error : 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 ':44, 17th-May-2007 AND visible = 1' at line 1 Error Number : 1064