]> git.mxchange.org Git - mailer.git/blobdiff - inc/stats-functions.php
Should bypass some fast webpage troubles
[mailer.git] / inc / stats-functions.php
index 598ca9b5a4e23a510db68224606e8e824de14faa..baa0b130b1f0f24714685c12fa1bc650fba7308a 100644 (file)
@@ -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