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