INSERT INTO dv_stats_requests SET datum=CURDATE(),stunde=HOUR(NOW()),domainid=,num=1 ON DUPLICATE KEY UPDATE num=num+1
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 'num=1 ON DUPLICATE KEY UPDATE num=num+1' at line 1