I am lost on this! What this should output is a top ten list of votes. The most votes to hold the top position and numbered 1 and then display the number of votes this event has. As I have it, I print all the info I want except I am ordering by alphabetical event name instead of ranking in votes.
How can I order the results by vote totals?
mysql_connect(\'localhost\',\'name\',\'pass\') or die (\"Problem connecting to DataBase\");
$query = \"SELECT event, COUNT(*) AS tc FROM Top_Ten_Greatest GROUP BY event LIMIT 10\";
$result = mysql_db_query(\'db_name\', $query);
TIA,
Jim