想从PHP行转换为列

时间:2013-10-07 04:12:30

标签: php html

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

$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;

0 个答案:

没有答案