require("include/top.php");
//$result = mysql_query("DESC prods platform");
//$row = mysql_fetch_row($result);
//$platforms = explode("'",$row[1]);
//$query="select platforms.name, platforms.icon from platforms order by platforms.name asc";
$sql = 'SELECT count(*) as c,platforms.name as name,platforms.icon as icon FROM prods_platforms right JOIN platforms on platforms.id = prods_platforms.platform GROUP by prods_platforms.platform order by c DESC';
$r = mysql_query($sql);
?>
platform icon check |
$n = 1;
while ($o = mysql_fetch_object($r)) {
?>
=$n++?>. |
=$o->name?>
|
=$o->c?> |
} ?>
|
require("include/bottom.php"); ?>