array(date('Ymd', time())), __FUNCTION__, __LINE__);
// Begin the SQL command
- $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_stats_%s` (`stats_entry`,`stats_value`) VALUES ",
+ $sql = sprintf("REPLACE INTO `{?_MYSQL_PREFIX?}_stats_%s` (`stats_entry`,`stats_value`) VALUES ",
date('Ymd', time()));
// Add all entries to the final query