View file topca/top/ach3.php

File size: 337B
<?
include "config2.php";

$link=mysql_pconnect ($DB_HOST, $DB_USER, $DB_PASS);
mysql_select_db($DB_NAME);

$arr=mysql_query("select id from users where 1 and category=3;");
$i=mysql_num_rows($arr);
$as=mysql_query("select id from users where category=3 and counthost>=1;");

$asi=mysql_num_rows($as);

print "$asi/$i";
?>