stats-fe.php
changeset 36 a7d884914a74
parent 28 a7e537c0b549
child 43 ce2e9caf2dfa
equal deleted inserted replaced
33:c3179049f670 36:a7d884914a74
    57     // avoid caching future queries
    57     // avoid caching future queries
    58     if ( $base <= NOW )
    58     if ( $base <= NOW )
    59     {
    59     {
    60       eb_mysql_query("INSERT INTO stats_count_cache(channel, time_min, time_max, message_count) VALUES('$channel', $time_min, $time_max, $count);");
    60       eb_mysql_query("INSERT INTO stats_count_cache(channel, time_min, time_max, message_count) VALUES('$channel', $time_min, $time_max, $count);");
    61     }
    61     }
    62     return $count;
    62     return intval($count);
    63   }
    63   }
    64   return false;
    64   return false;
    65 }
    65 }
    66 
    66 
    67 /**
    67 /**