View file blogs_counter.php
<?php /* by don't give me name's icq 6146230, [email protected], i-am-dmitry.ru Version: 1.2.1 name: Blogs place: blogs_counter.php description: счетчик блогов */ $cntr = mysql_fetch_array(mysql_query(" select count(`id`) `all_blogs`, ( select count(`id`) from `blogs` ) `all_records` from `blogs_title`")); echo $cntr['all_blogs'].'/'.$cntr['all_records']; ?>