string(110) "INSERT INTO search (search,ip) VALUES ('092217','920790076') ON DUPLICATE KEY UPDATE created=CURRENT_TIMESTAMP" Invalid query: Duplicate entry '397232' for key 'PRIMARY'