We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit d5bb7b4a authored by clint's avatar clint

users count

parent ae9ea7ca
......@@ -79,6 +79,14 @@ require_once('database.php');
}
$row = $res->fetchRow(MDB2_FETCHMODE_ASSOC);
echo "<p>" . stripslashes($row["total"]) . " tracks.</p>";
$res = $mdb2->query("SELECT COUNT(*) as total from Users");
if(PEAR::isError($res)) {
die($res->getMessage());
}
$row = $res->fetchRow(MDB2_FETCHMODE_ASSOC);
echo "<p>" . stripslashes($row["total"]) . " users.</p>";
?>
<p>
<a href="http://validator.w3.org/check?uri=referer"><img
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment