thanks a lot fred!
the problem I have now is, as results I get
3,5,7
why is that? I expected it to be 1,2,3,4,5,6,7
<? $resultx = mysql_query("select * from dp_fragen order by id desc limit 7") or die ("could not read news database");
$a = 1;
while ($row = mysql_fetch_array($resultx))
{
print "<a href=\"page.php>";
print $a = $a+1;
print '</a>';
}