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 'AND datum >= '2014-04-19 08:52:49' ORDER BY datum, uur' at line 1