cvs: functable /lib/statistics busy_coders.php
| From: | Hartmut Holzgraefe | Date: | Tue, 28 May 2002 11:42:43 +0000 |
| Subject: | cvs: functable /lib/statistics busy_coders.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12140@lists.php.net to get a copy of this message | ||
hholzgra Tue May 28 07:42:43 2002 EDT
Added files:
/functable/lib/statistics busy_coders.php
Log:
initial checkin
Index: functable/lib/statistics/busy_coders.php
+++ functable/lib/statistics/busy_coders.php
<?php
head(false,false,"Statistics","Who writes the functions");
$query = "SELECT author
, COUNT(*) AS anzahl
FROM author
GROUP BY author
ORDER BY anzahl DESC
";
echo
"<table><tr><th>author</th><th>functions</th></tr>";
$result=mysql_query($query);
while($row=mysql_fetch_array($result))
{
bg_toggle();
print("<tr
bgcolor='$bgcolor'><td>".author_ref($row["author"])."</td><td>$row[anzahl]</td></tr>\n");
}
mysql_free_result($result);
echo "</table>";
foot("$outdir/busy_coders.$ext");
?>