If I understand correctly, you need to display the number of comments for each news / article. if so then...
цикл... $comnum = mysql_num_rows(mysql_query("SELECT * FROM `news_comments` WHERE `newsid` = '".$res['id']."'"));
then where you need to display the type Comments: <? echo $comnum; ?>
<? echo $comnum; ?>
Accordingly, $ comnum = lines from comments if a newsid in the comment table matches the already selected (cycle) id of the news itself.
UPD
//запрос в базу $q=mysql_query("SELECT * FROM news ORDER BY id LIMIT {$n->start()},$pnumber "); //выводим результаты while (false!==($res=mysql_fetch_assoc($q))) { //ПОДСТАВЛЯТЬ СТРОКУ НАДО В ЦИКЛЕ! ЕСЛИ ЗА ЦИКЛОМ, ОНА ТЕБЕ ТОЛЬКО 1 ЗНАЧЕНИЕ ВЫВЕДЕТ! $comnum = mysql_num_rows(mysql_query("SELECT * FROM `news_comments` WHERE `newsid` = '".$res['id']."'")); ?>
Here is your conclusion blah blah blah blah blah
<? // закрываем цикл, когда вывели все)) } ?>
$result = mysql_query("SELECT id,title,description,date,author,mini_img,view,(SELECT COUNT(*) FROM comments WHERE post='$id')AS count_comment FROM news ORDER BY id DESC LIMIT $start, $num",$db);
In fact, I need to change something here - paloshmaxpro