string(114) "INSERT INTO search (search,ip) VALUES (' REAL-423','916403062') ON DUPLICATE KEY UPDATE created=CURRENT_TIMESTAMP" Invalid query: Duplicate entry '397232' for key 'PRIMARY'