Parašė edeni· 2010 Kov. 28 17:03:20
#19
Mačiau į pridėtinius rašysi tai va:
<?php
$num1 = dbcount("(download_cat)", "downloads", "download_cat='316''");
$num2 = dbcount("(download_cat)", "downloads", "download_cat='317'");
$num3 = dbcount("(download_cat)", "downloads", "download_cat='318'");
?>
<img src='http://frag.lt/themes/FraG.Lt/images/bullet.gif' alt=''><a href='http://frag.lt/downloads.php?cat_id=316'>Laužtuvas<?php echo $num1; ?></a></br>
<img src='http://frag.lt/themes/FraG.Lt/images/bullet.gif' alt=''><a href='http://frag.lt/downloads.php?cat_id=317'>Pistoletas<?php echo $num2; ?></a></br>
<img src='http://frag.lt/themes/FraG.Lt/images/bullet.gif' alt=''><a href='http://frag.lt/downloads.php?cat_id=318'>Magnum<?php echo $num3; ?></a></br>
Nežinau ar veiks.