SQL Error:
Query: INSERT INTO `search_stats` ( `query`,`results` ) VALUES ('heroes of the sword','57') ON DUPLICATE KEY UPDATE `popularity` = `popularity` + 1, `last_search` = NOW(), `results` = '57'