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 'Z',1) ON DUPLICATE KEY UPDATE onclick=onclick+1' at line 1
insert into ***_enewssearch(searchtime,keyboard,onclick) values('1664369817','W'Z',1) ON DUPLICATE KEY UPDATE onclick=onclick+1