does this work?
PHP Code:
$result = mysql_query("SELECT MAX(id), * FROM comment GROUP BY bid ORDER BY id desc LIMIT 10");
Comment