示例#1
0
function photoplog_update_fileuploads_counts_interval($start, $stop)
{
    $sql = "fileid >= " . intval($start) . " AND fileid < " . intval($stop);
    photoplog_update_fileuploads_counts_sql($sql);
}
示例#2
0
function photoplog_update_fileuploads_counts_array($fileid_array)
{
    if (!empty($fileid_array) && is_array($fileid_array)) {
        $fileid_array = array_map('intval', $fileid_array);
        $sql = "fileid IN (" . implode(",", $fileid_array) . ")";
        photoplog_update_fileuploads_counts_sql($sql);
    }
}