PHP-Code:
$sql "SELECT `topic_id`, `topic_replies` FROM `phpbb_topics` ORDER BY topic_id DESC";
$query mysql_query($sql);
while(
$row mysql_fetch_object($query))
{
echo 
$row->topic_id;
echo 
$row->topic_replies;

So das wars