View file topca/top/ach5.php
<? 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=5;"); $i=mysql_num_rows($arr); $as=mysql_query("select id from users where category=5 and counthost>=1;"); $asi=mysql_num_rows($as); print "$asi/$i"; ?>