0

我的网站上有一个排名系统,我希望它以一列而不是一行的形式显示。

$result = mysql_query("SELECT *, ROUND(score/(1+(losses/wins))) AS performance FROM images ORDER BY ROUND(score/(1+(losses/wins))) DESC LIMIT 0,10");

while($row = mysql_fetch_object($result)) $top_ratings[] = (object) $row;
4

0 回答 0