The Php should be something like this:
$db = mysql_connect ("localhost","user","password");
mysql_select_db ( "wiredATL_topsites");
$query = "select site_banner, site_url from mtl_sites order by votes DESC limt 5";
$res = mysql_query ( $query, $db );
This will do the actual collection of the data, then wherever you want to display it do:
while ( $row=mysql_fetch_object ( $res ) ) {
print "<a href=\"$row->site_url\">$row->site_banner</a>\n";
}
Hope that helps.