X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fstats-functions.php;h=816be3410d7a723eb21656bb336bc1afe907cddc;hp=a6308e25b3518527a1f868ef39a197ebbebdfeab;hb=2df9f7a53f8b1dd5164f87824a324ccb3b6634cb;hpb=428be1738c81a57e4e75b4f701df9414656a3b13 diff --git a/inc/stats-functions.php b/inc/stats-functions.php index a6308e25b3..816be3410d 100644 --- a/inc/stats-functions.php +++ b/inc/stats-functions.php @@ -111,7 +111,7 @@ function loadStatsTable () { } // END - if // Load it from database - $result = SQL_QUERY_ESC("SELECT `stats_entry`,`stats_value` FROM `{?_MYSQL_PREFIX?}_stats_%s` ORDER BY `stats_entry` ASC", + $result = SQL_QUERY_ESC("SELECT `stats_entry`, `stats_value` FROM `{?_MYSQL_PREFIX?}_stats_%s` ORDER BY `stats_entry` ASC", array( generateDateTime(time(), '6') ), __FUNCTION__, __LINE__); @@ -162,7 +162,7 @@ function writeStatsTable () { array(generateDateTime(time(), '6')), __FUNCTION__, __LINE__); // Begin the SQL command - $sql = sprintf("REPLACE INTO `{?_MYSQL_PREFIX?}_stats_%s` (`stats_entry`,`stats_value`) VALUES ", + $sql = sprintf("REPLACE INTO `{?_MYSQL_PREFIX?}_stats_%s` (`stats_entry`, `stats_value`) VALUES ", generateDateTime(time(), '6')); // Add all entries to the final query