"; $count=0; while($row=mysql_fetch_array($rs)) { $count++; $cat_id=$row['cat_id']; $cat_name=$row['cat_name']; $cat_image=$row['image_name']; $nTotal=getCount("tblproduct","tblcategory_ref=$cat_id and p_status=1"); echo "

$cat_name
($nTotal)
"; if($count==2) { echo ""; $count=0; } } echo ""; } ?>
 
 Products