X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fstats-functions.php;h=3b0a794d96a9dea1c49f8fe1a5e645e5ed9773c7;hb=ac329bd605c5ebe59b06129630cebefb34856d26;hp=130e9ae2b3c919426fe7ee7219f3f00fd528ec98;hpb=56931cd9321119dd37372bd16d6c552857e40066;p=mailer.git diff --git a/inc/stats-functions.php b/inc/stats-functions.php index 130e9ae2b3..3b0a794d96 100644 --- a/inc/stats-functions.php +++ b/inc/stats-functions.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -108,7 +108,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__); @@ -159,7 +159,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