From: Roland Häder Date: Thu, 5 Nov 2009 19:37:44 +0000 (+0000) Subject: Should bypass some fast webpage troubles X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3ec2d6f962c617af33b0e95e22eb414312e3ffb6;p=mailer.git Should bypass some fast webpage troubles --- diff --git a/inc/stats-functions.php b/inc/stats-functions.php index 598ca9b5a4..baa0b130b1 100644 --- a/inc/stats-functions.php +++ b/inc/stats-functions.php @@ -146,7 +146,7 @@ function writeStatsTable () { 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