function photoplog_update_fileuploads_counts_interval($start, $stop) { $sql = "fileid >= " . intval($start) . " AND fileid < " . intval($stop); photoplog_update_fileuploads_counts_sql($sql); }
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); } }