I want to have a numbered list from 1 to 10, i have this code so far which prints the top 10 games with names including the urls on my website. Can anyone help me with this?
Instead of a dot (•) it should be numbered 1-10. Here is the code:
<?php
include "config.php";
$rQuery = mysql_query("SELECT * FROM " . $pre . "$sqlgame WHERE cijfer / stemmen >= 10 ORDER BY views DESC LIMIT 10");
while($aGame = mysql_fetch_assoc($rQuery))
{
if($aGame['cijfer'] != 0 AND $aGame['stemmen'] != 0)
{
$cijfer = floor($aGame['cijfer'] / $aGame['stemmen']);
}
else
{
$cijfer = 0;
}
$sSpelNaam = str_replace(" ", "-",$aGame['name']);
echo "<font color='#333333'>• <a href=\"http://www.crocgame.com/games.php/" . $sSpelNaam . ".html\" target='blank' onmouseover=\"ddrivetip('<img src=\'" . $aGame['screenshoturl'] . "\' width=\'170\' height=\'140\' alt=\'" . $aGame['name'] . "\'><br /><b>" . $aGame['name'] . "</b>');\" onmouseout='hideddrivetip();'>" . $aGame['name'] . " " . $aGame['extra'] . "</a></font><br />" . PHP_EOL;
}
?>