string(112) "INSERT INTO search (search,ip) VALUES ('XVSR-188','392052247') ON DUPLICATE KEY UPDATE created=CURRENT_TIMESTAMP" Invalid query: Duplicate entry '397232' for key 'PRIMARY'