Hello Paul and thanks for replying ; )
fine : I understand at least why this code worked (the </a> was at the last end)
<?php
while ($ak_post = $db->fetch_assoc($ak_latest)) {
?>
<div id="navcontainer">
<ul id="navlist">
<li id="active"><a href="viewtopic.php?id=<?php echo $ak_post['id'] ?>"><?php echo pun_htmlspecialchars($ak_post['subject']) ?> dernier message posté par <?php echo pun_htmlspecialchars($ak_post['last_poster']) ?> (<?php echo format_time($ak_post['last_post']) ?>)</a>
</li>
</ul>
</div>
But, nevertheless, it's an error to get more than one div with the same id ? and I have to find another way to list the active post, isn't it ?
So, I will try do something less more chaotic.
abclf.