Test
<?php
$userTotal = db_fetch_array(db_query("select count(distinct(uid)) from users"));
foreach ($userTotal as $index => $valueu) {
echo $valueu . " users,\n";
}
$postTotal = db_fetch_array(db_query("select count(distinct(nid)) from node where type = 'forum';"));
foreach ($postTotal as $index => $value) {
echo $value . " topics and\n";
}
$commentTotal = db_fetch_array(db_query("select count(distinct(cid)) from comments"));
foreach ($commentTotal as $index => $valuec) {
echo $valuec . " replies so far.\n";
}
?>
