. **/ ?>

prepare("SELECT DISTINCT tag, COUNT(tag) AS count FROM blog_tags GROUP BY tag ORDER BY count DESC"); $sql->execute(); while($row=$sql->fetch(PDO::FETCH_ASSOC)){ echo "".$row['tag']." (".$row['count'].")"; } ?>