> // require 'includes/data/database.php'; $sql = 'SELECT time,until,reason,name,banned_by_name FROM mutes INNER JOIN history on mutes.uuid=history.uuid WHERE active=1 GROUP BY name ORDER BY time DESC LIMIT 20'; $retval = mysql_query($sql, $conn); if (!$retval) { die('Could not get data: ' . mysql_error()); } ?>
Name | Muted By | Reason | Muted On | Muted Until |
---|---|---|---|---|
" . $row['name']; ?> | " . $row['banned_by_name']; ?> |