Sorry man, but is this anywhere near how to do it? I've omitted the dillimeters and my username and password
mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query = "SELECT author, COUNT(*) as numArticles FROM articles GROUP BY author ORDER BY author";
$result=mysql_query($query);
mysql_close();
$i=0;
while ($i < $numArticles) {
$numberofarticles=mysql_result($result,$i);
echo "<b>$name<hr>$result ";
++$i;
}
or am I way off? where is it that you read about this kind of thing?