You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$stmt = $db->prepare("SELECT log_type as ltype, log_user_text as source, REPLACE(log_title,'_',' ') as target, COUNT(*) value FROM logging WHERE log_type=? GROUP BY log_user_text, log_title ORDER BY value DESC LIMIT ?");
$stmt->bind_param("si",$type,$limit);
}
else {
$stmt = $db->prepare("SELECT log_type as ltype, log_user_text as source, REPLACE(log_title,'_',' ') as target, COUNT(*) value FROM logging WHERE log_type=? AND (log_user_text=? OR log_title=?) GROUP BY log_user_text, log_title ORDER BY value DESC LIMIT ?");