linkrx7
#1
hi can anyone help me to get the forums and posts number from a particular category i have this but it gets the total topics posts i have tried but couldnt quite get it lol any help b very appreciated
$notc = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_topics"));
$nops = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_posts"));
else if(getfview()==2)
{
echo "<a href=\"index.php?action=viewcat&sid=$sid&cid=$fcat[0]\">$fcat[1]($notc[0]/$nops[0])</a>
";
}