Hey guys,

Not sure if this should be in mysql or php, but I thought it included more php than mysql, so put it here..

I have four things in my database, and in their downloads column I have the numbers 0,9,12 and 15. I am making a top 5 downloads thing, and instead of coming out 15,12,9,0, it comes out as.. 9,15,12,0

Here is how I have it set up..
PHP Code:
 <?php 
    $sql
=mysql_query("select * from jamie_download ORDER BY downloads DESC");
    
$numrows=mysql_num_rows($sql);
    for(
$i=0;$i<=$numrows;$i++) {
    while ( 
$row mysql_fetch_array($sql)) {
    echo(
$row['name']); 
    }
    }
    
?>
What am I doing wrong here?

Thanks,
Chase